diff options
-rw-r--r-- | ftplugin/todo.vim | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ftplugin/todo.vim b/ftplugin/todo.vim index 3009845..c8a0cad 100644 --- a/ftplugin/todo.vim +++ b/ftplugin/todo.vim @@ -6,10 +6,10 @@ let b:did_ftplugin = 1 nnoremap <silent> <buffer> <Plug>TwodoNewTodoBelow o- nnoremap <silent> <buffer> <Plug>TwodoNewTodoAbove O- -nnoremap <silent> <buffer> <Plug>TwodoMarkComplete m`:<c-u>s/\v^(\s*)- /\1v /<cr>`` -nnoremap <silent> <buffer> <Plug>TwodoMarkDeleted m`:<c-u>s/\v^(\s*)- /\1x /<cr>`` -nnoremap <silent> <buffer> <Plug>TwodoMarkPartiallyCompleted m`:<c-u>s/\v^(\s*)- /\1S /<cr>`` -nnoremap <silent> <buffer> <Plug>TwodoRemoveOldTodos :<c-u>g/^\s*[vSx] /d<cr> +nnoremap <silent> <buffer> <Plug>TwodoMarkComplete m`:<c-u>s/\v^(\s*)- /\1v / \| nohlsearch<cr>`` +nnoremap <silent> <buffer> <Plug>TwodoMarkDeleted m`:<c-u>s/\v^(\s*)- /\1x / \| nohlsearch<cr>`` +nnoremap <silent> <buffer> <Plug>TwodoMarkPartiallyCompleted m`:<c-u>s/\v^(\s*)- /\1S / \| nohlsearch<cr>`` +nnoremap <silent> <buffer> <Plug>TwodoRemoveOldTodos :<c-u>g/^\s*[vSx] /d \| nohlsearch<cr> if !hasmapto('<Plug>TwodoNewTodoBelow') || !maparg('<leader>n', 'n') nmap <silent> <buffer> <leader>n <Plug>TwodoNewTodoBelow |