nvim: after/plugin/fugitive: Add key mappings for git log grep

Usage:
$ git log --grep=word
$ git log -Gword
This commit is contained in:
Sanchayan Maity 2021-09-29 10:55:13 +05:30
parent 8aaccc4f16
commit 4b6bd7e7ed
1 changed files with 2 additions and 0 deletions

View File

@ -12,6 +12,8 @@ nnoremap <Leader>gE :sp<CR>:Gedit :%:p<Left><Left><Left><Left>
nnoremap <Leader>gf :Git fetch --all<CR>
nnoremap <Leader>gF :call git#git_fetch_origin_merge()<CR>
nnoremap <Leader>gg :Git<CR>
nnoremap <Leader>gh :Git log --grep=
nnoremap <Leader>gH :<C-U>Git log -G<C-r><C-w>
nnoremap <Leader>gl :Git log --stat %<CR>
nnoremap <Leader>gL :Git log --stat -n 100<CR>
xnoremap <Leader>gl :<C-U>call git#git_log_range()<CR>