nnoremap ga :Git add % nnoremap gA :Git reset HEAD % xnoremap gb :Git blame nnoremap gb :keepalt Git branch -a nnoremap gB :keepalt Git branch nnoremap gc :Git checkout -b nnoremap gC :Git checkout nnoremap gd :Git difftool nnoremap gD :Git difftool -y nnoremap ge :sp:Gedit HEAD~:% nnoremap gE :sp:Gedit :%:p nnoremap gf :Git fetch --all --tags -f nnoremap gF :call git#git_fetch_origin_merge() nnoremap gg :Git nnoremap gh :keepalt Git log --grep= nnoremap gH :keepalt Git log -G nnoremap gk :call git#git_review() nnoremap gK :call git#git_review_fileview() nnoremap gl :keepalt Git log --stat % nnoremap gL :keepalt Git log --stat -n 100 xnoremap gl :call git#git_log_range() xnoremap gL :call git#git_log_named_block() nnoremap gm :0,3Git blamej nnoremap gM :call git#git_merge_origin() nnoremap gn :Git branch -m nnoremap go :call git#git_log_compare() nnoremap gr :keepalt Ggrep! -q nnoremap gR :call git#git_rebase_origin() nnoremap g- :call git#git_stash():e nnoremap g+ :Git stash pop stash@ nnoremap gs :Git stash list nnoremap gS :Git stash -- % nnoremap gt :keepalt Git reflog nnoremap gw :Gwrite nnoremap G :keepalt Git nnoremap gp :call git#git_push_to_upstream() nnoremap gP git#git_push() augroup custom_fugitive autocmd! autocmd BufReadPost fugitive://* setlocal bufhidden=wipe autocmd User FugitiveObject,FugitiveIndex nnoremap q :bwipeout! autocmd User FugitiveIndex nmap dt :Gtabedit Gdiffsplit!only augroup END