summaryrefslogtreecommitdiff
path: root/ftplugin
diff options
context:
space:
mode:
authorJersey <fonseca@uchicago.edu>2020-06-24 17:29:30 +0000
committerJersey <fonseca@uchicago.edu>2020-06-24 17:29:30 +0000
commit2f1b4f1bce15df1c5c2f084390757cba5f4e75f4 (patch)
treeedc2d5446fd84b0eb627722666f2ed21a0bf353c /ftplugin
Barest of bones
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>