nvim: keymappings: Add key mappings for fugitive git grep

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
This commit is contained in:
Sanchayan Maity 2020-06-12 14:22:13 +05:30
parent 5c21b3e85c
commit d662824b9f

View file

@ -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>