summaryrefslogtreecommitdiff
path: root/ftplugin/markdown_bujo.vim
blob: cf79d6fa081c42e02166f6ed333c3d574f9248f8 (plain)
1
2
3
4
5
6
" Edit markdown lists
" Add and remove bullets with ease
nnoremap <buffer> <C-Enter> i-[] 
nnoremap <buffer> <C-BS> :.s/\[\]/\[x\]<Enter>
inoremap <buffer> <C-Enter> -[] 
inoremap <buffer> <C-BS> <esc>:.s/\[\]/\[x\]<Enter>