nvim: after/plugin/fugitive: Add some more key mappings
This commit is contained in:
parent
a567150a64
commit
f088e258da
1 changed files with 4 additions and 1 deletions
|
@ -1,4 +1,5 @@
|
||||||
nnoremap <Leader>ga :Git fetch --all<CR>
|
nnoremap <Leader>ga :Git add %<CR>
|
||||||
|
nnoremap <Leader>gA :Git reset HEAD %<CR>
|
||||||
xnoremap <Leader>gb :Git blame<CR>
|
xnoremap <Leader>gb :Git blame<CR>
|
||||||
nnoremap <Leader>gb :Git branch -a<CR>
|
nnoremap <Leader>gb :Git branch -a<CR>
|
||||||
nnoremap <Leader>gB :Git branch<SPACE>
|
nnoremap <Leader>gB :Git branch<SPACE>
|
||||||
|
@ -8,6 +9,8 @@ nnoremap <Leader>gd :Ghdiffsplit!<CR>
|
||||||
nnoremap <Leader>gD :Gvdiffsplit!<CR>
|
nnoremap <Leader>gD :Gvdiffsplit!<CR>
|
||||||
nnoremap <Leader>ge :sp<CR>:Gedit HEAD~:%<Left><Left>
|
nnoremap <Leader>ge :sp<CR>:Gedit HEAD~:%<Left><Left>
|
||||||
nnoremap <Leader>gE :sp<CR>:Gedit<SPACE>
|
nnoremap <Leader>gE :sp<CR>:Gedit<SPACE>
|
||||||
|
nnoremap <Leader>gf :Git fetch --all<CR>
|
||||||
|
nnoremap <Leader>gF :Git pull<CR>
|
||||||
nnoremap <Leader>gl :Git log --stat %<CR>
|
nnoremap <Leader>gl :Git log --stat %<CR>
|
||||||
nnoremap <Leader>gL :Git log --stat -n 100<CR>
|
nnoremap <Leader>gL :Git log --stat -n 100<CR>
|
||||||
xnoremap <Leader>gl :<C-U>call git#git_log_range()<CR>
|
xnoremap <Leader>gl :<C-U>call git#git_log_range()<CR>
|
||||||
|
|
Loading…
Reference in a new issue