show TODOs with <leader>td
This commit is contained in:
parent
4a53d32024
commit
70b6a19a31
4
vimrc
4
vimrc
|
@ -172,6 +172,10 @@ nnoremap <leader>qfn :cnewer<CR>
|
|||
" quick grep of visual selection
|
||||
vnoremap <leader>gr y:grep! -R <C-r>" .
|
||||
|
||||
" open quickfix window of TODOs
|
||||
" // TODO
|
||||
nnoremap <leader>td :grep! -R '// TODO' .<CR>:botright cwindow<CR>
|
||||
|
||||
" brace/quotes completion
|
||||
inoremap {{ {}<left>
|
||||
inoremap {{{ {<CR>}<esc>O
|
||||
|
|
Loading…
Reference in New Issue