update TODO quickfix window command
This commit is contained in:
parent
6a33c37993
commit
5b854f9e07
2
vimrc
2
vimrc
|
@ -1132,7 +1132,7 @@ nnoremap <silent> <space>ry diw"0P
|
||||||
" quick grep of visual selection
|
" quick grep of visual selection
|
||||||
vnoremap <space>gr y:grep! -R <C-r>" .
|
vnoremap <space>gr y:grep! -R <C-r>" .
|
||||||
" open quickfix window of TODOs
|
" 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
|
" devdocs mapping
|
||||||
nnoremap <space>dd :DD<CR>
|
nnoremap <space>dd :DD<CR>
|
||||||
" write and delete current buffer
|
" write and delete current buffer
|
||||||
|
|
Loading…
Reference in New Issue