diff options
Diffstat (limited to 'ftplugin')
-rw-r--r-- | ftplugin/markdown_bujo.vim | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ftplugin/markdown_bujo.vim b/ftplugin/markdown_bujo.vim new file mode 100644 index 0000000..cf79d6f --- /dev/null +++ b/ftplugin/markdown_bujo.vim | |||
@@ -0,0 +1,6 @@ | |||
1 | " Edit markdown lists | ||
2 | " Add and remove bullets with ease | ||
3 | nnoremap <buffer> <C-Enter> i-[] | ||
4 | nnoremap <buffer> <C-BS> :.s/\[\]/\[x\]<Enter> | ||
5 | inoremap <buffer> <C-Enter> -[] | ||
6 | inoremap <buffer> <C-BS> <esc>:.s/\[\]/\[x\]<Enter> | ||