mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-19 04:31:46 +00:00
Updated Vim mode (markdown)
12
Vim-mode.md
12
Vim-mode.md
@@ -5,6 +5,8 @@ You can use Vim keymap.
|
|||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
Don't forget to restart Boostnote.
|
||||||
|
|
||||||
# Specifications
|
# Specifications
|
||||||
## :q to escape from Edit mode
|
## :q to escape from Edit mode
|
||||||
`:q`, `:qw`, `:wq` and `:q!` are available to escape from Edit mode.
|
`:q`, `:qw`, `:wq` and `:q!` are available to escape from Edit mode.
|
||||||
@@ -13,5 +15,15 @@ You can use Vim keymap.
|
|||||||
|
|
||||||
ref: https://github.com/BoostIO/Boostnote/pull/885
|
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.
|
||||||
|
|
||||||
|
```js
|
||||||
|
CodeMirror.Vim.map('jj', '<Esc>', 'insert')
|
||||||
|
```
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
|
||||||
# note
|
# note
|
||||||
There's no way to share yank and clipboard for now.
|
There's no way to share yank and clipboard for now.
|
||||||
Reference in New Issue
Block a user