summaryrefslogtreecommitdiff
path: root/ftplugin
diff options
context:
space:
mode:
Diffstat (limited to 'ftplugin')
-rw-r--r--ftplugin/markdown_bujo.vim6
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
3nnoremap <buffer> <C-Enter> i-[]
4nnoremap <buffer> <C-BS> :.s/\[\]/\[x\]<Enter>
5inoremap <buffer> <C-Enter> -[]
6inoremap <buffer> <C-BS> <esc>:.s/\[\]/\[x\]<Enter>