1.0.6 • Published 4 months ago

joplin-plugin-custom-codemirror-vimrc v1.0.6

Weekly downloads
-
License
MIT
Repository
-
Last release
4 months ago

joplin-plugin-custom-codemirror-vimrc

Pressing ctrl+Shift+P and typing vimrc allows editing a very-limited .vimrc-like configuration file for CodeMirror's ViM mode.

See the relevant post on the Joplin forum.

This is a sample vimrc-like configuration file:

" A .vimrc-like file. At present, very little is supported.
" You can use the commands:
"   inoremap, vnoremap, nnoremap
"   imap, nmap, vmap
"   unmap
" Because commands are passed directly to CodeMirror's VIM API,
" insert-mode mappings seem to be unable to insert text.
"
" Examples:
" Allow copying/pasting with ctrl+c/ctrl+v when in insert mode.
unmap <C-c>
unmap <C-v>
"
" Map jk to Escape in insert mode:
imap jk <Esc>
1.0.6

4 months ago

1.0.5

6 months ago

1.0.4

9 months ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago