nvim: keymappings: Add key mappings for fugitive git grep
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
This commit is contained in:
parent
5c21b3e85c
commit
d662824b9f
1 changed files with 4 additions and 0 deletions
|
@ -75,6 +75,8 @@ nnoremap [Q :cfirst<CR>
|
|||
nnoremap ]Q :clast<CR>
|
||||
nnoremap qs :Grep<SPACE>
|
||||
nnoremap q* :Grep <cword><CR>
|
||||
nnoremap qg :Ggrep! <cword><CR>
|
||||
nnoremap qG :Ggrep!<SPACE>
|
||||
nnoremap qt :call ToggleQuickfixList()<CR>
|
||||
nnoremap Lo :lopen<CR>
|
||||
nnoremap Lc :lclose<CR>
|
||||
|
@ -84,6 +86,8 @@ nnoremap [L :lfirst<CR>
|
|||
nnoremap ]L :llast<CR>
|
||||
nnoremap Ls :LGrep<SPACE>
|
||||
nnoremap L* :LGrep <cword><CR>
|
||||
nnoremap Lg :Glgrep! <cword><CR>
|
||||
nnoremap LG :Glgrep!<SPACE>
|
||||
nnoremap Lt :call ToggleLocationList()<CR>
|
||||
" Preview tags
|
||||
nnoremap pt :ptag <C-R><C-W><CR>
|
||||
|
|
Loading…
Reference in a new issue