Skip to content

Vim mode

SuenagaRyota edited this page Sep 30, 2017 · 3 revisions

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.