nnoremap ga :Git add % nnoremap gA :Git reset HEAD % xnoremap gb :Git blame nnoremap gb :Git branch -a nnoremap gB :Git branch nnoremap gc :Git checkout -b nnoremap gC :Git checkout nnoremap gd :Ghdiffsplit! nnoremap gD :Gvdiffsplit! nnoremap ge :sp:Gedit HEAD~:% nnoremap gE :sp:Gedit :%:p nnoremap gf :Git fetch --all nnoremap gF :call git#git_fetch_origin_merge() nnoremap gl :Git log --stat % nnoremap gL :Git log --stat -n 100 xnoremap gl :call git#git_log_range() xnoremap gL :call git#git_log_named_block() nnoremap gM :call git#git_merge_origin() nnoremap go :call git#git_log_compare() nnoremap gp :Git push nnoremap gP :Git push -u nnoremap gr :call git#git_rebase_origin() nnoremap gR :Git rebase --abort nnoremap g- :Git stash:e nnoremap g+ :Git stash pop:e nnoremap gs :Git nnoremap gS :Git stash -- % nnoremap gw :Gwrite nnoremap G :Git augroup custom_fugitive autocmd! autocmd FileType fugitive nnoremap q :bwipeout! autocmd BufReadPost fugitive:// setlocal bufhidden=wipe augroup END