diff options
author | Jersey <fonseca@uchicago.edu> | 2020-06-24 17:29:30 +0000 |
---|---|---|
committer | Jersey <fonseca@uchicago.edu> | 2020-06-24 17:29:30 +0000 |
commit | 2f1b4f1bce15df1c5c2f084390757cba5f4e75f4 (patch) | |
tree | edc2d5446fd84b0eb627722666f2ed21a0bf353c /ftplugin |
Barest of bones
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> | ||