diff options
author | ahmedselim2017 <ahmedselimuzum@gmail.com> | 2020-06-24 23:46:32 +0000 |
---|---|---|
committer | ahmedselim2017 <ahmedselimuzum@gmail.com> | 2020-06-24 23:46:32 +0000 |
commit | 227ce0d7705c72297deabca4cc7adb855632e9f2 (patch) | |
tree | 8841c0e47f670b6be64bfe0e07c84f088b9530cf | |
parent | 9c3df779c9355086819c7abf0641827ae242f169 (diff) |
Defined <Plug> mappings.
-rw-r--r-- | ftplugin/markdown_bujo.vim | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ftplugin/markdown_bujo.vim b/ftplugin/markdown_bujo.vim index cf79d6f..6838885 100644 --- a/ftplugin/markdown_bujo.vim +++ b/ftplugin/markdown_bujo.vim | |||
@@ -1,6 +1,6 @@ | |||
1 | " Edit markdown lists | 1 | " Edit markdown lists |
2 | " Add and remove bullets with ease | 2 | " Add and remove bullets with ease |
3 | nnoremap <buffer> <C-Enter> i-[] | 3 | nnoremap <buffer> <Plug>bujo#AddTodoNormal i-[] |
4 | nnoremap <buffer> <C-BS> :.s/\[\]/\[x\]<Enter> | 4 | nnoremap <buffer> <Plug>bujo#CheckTodoNormal :.s/\[\]/\[x\]<Enter> |
5 | inoremap <buffer> <C-Enter> -[] | 5 | inoremap <buffer> <Plug>bujo#AddTodoInsert -[] |
6 | inoremap <buffer> <C-BS> <esc>:.s/\[\]/\[x\]<Enter> | 6 | inoremap <buffer> <Plug>bujo#CheckTodoInsert <esc>:.s/\[\]/\[x\]<Enter> |