summaryrefslogtreecommitdiff
path: root/ftplugin/markdown_bujo.vim
blob: 6838885a89871eea2811743492c7d3a7fa47aa2e (plain)
1
2
3
4
5
6
" Edit markdown lists
" Add and remove bullets with ease
nnoremap <buffer> <Plug>bujo#AddTodoNormal i-[] 
nnoremap <buffer> <Plug>bujo#CheckTodoNormal :.s/\[\]/\[x\]<Enter>
inoremap <buffer> <Plug>bujo#AddTodoInsert -[] 
inoremap <buffer> <Plug>bujo#CheckTodoInsert <esc>:.s/\[\]/\[x\]<Enter>