Boostnote Tips: How to set Vim keymap to Boostnote.


Setting

Change Editor Keymap to vim (or emacs) at Preferences -> UI -> Editor Keymap Reload Boostnote after saving with “Command + R”.

image2

Custom Keymap

You can customize your keymaps.

If you want to set jj as Esc, Go to “View -> Toggle Developer Tools” from the menu and after setting the tab to Console, Run the following script in the developer console.

CodeMirror.Vim.map (‘jj’, ‘<Esc>’, ‘insert’)

image3

Specification

:q to escape from Edit mode.

When editing a note, : q : qw :: wq : q! commands let you leave edit mode.

image4

Reference

AUTHOR

READ NEXT

Boostlog is an online community for developers
who want to share ideas and grow each other.

Delete an article

Deleted articles are gone forever. Are you sure?