update TODO quickfix window command

This commit is contained in:
ManjaroOne666 2019-01-18 17:50:29 +00:00
parent 6a33c37993
commit 5b854f9e07
1 changed files with 1 additions and 1 deletions

2
vimrc
View File

@ -1132,7 +1132,7 @@ nnoremap <silent> <space>ry diw"0P
" quick grep of visual selection
vnoremap <space>gr y:grep! -R <C-r>" .
" open quickfix window of TODOs
nnoremap <space>td :grep! -R '// *TODO' .<CR>:botright cwindow<CR>:echo len(getqflist()) 'TODOs'<CR>
nnoremap <space>td :grep! -R 'TODO' .<CR>:botright cwindow<CR>:echo len(getqflist()) 'TODOs'<CR>
" devdocs mapping
nnoremap <space>dd :DD<CR>
" write and delete current buffer