1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-12 17:26:17 +00:00
3
Vim mode
SuenagaRyota edited this page 2017-09-30 13:47:19 +09:00

You can use Vim keymap.

Setting

Preferences -> UI -> Editor Keymap

image

Don't forget to restart Boostnote.

Specifications

:q to escape from Edit mode

:q, :qw, :wq and :q! are available to escape from Edit mode.

f76f1b74be813ee10f631b1cd41486d0

ref: https://github.com/BoostIO/Boostnote/pull/885

Custom keymaps

You can customize your keymaps, but it's not actually supported. If you want to map jj as Esc, run the script below on the developer console.

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

image

I'll implement an easier way in Preferences.

note

There's no way to share yank and clipboard for now.