call dein#add('tpope/vim-fugitive', #{ \ lazy: 1, \ on_event: 'VimEnter', \ }) " Fugitive commands that don't require interaction with GitGutter or NERDTree nnoremap ga :Git add %:p nnoremap gd :Gvdiffsplit nnoremap gs :Git nnoremap gc :Git commit -q nnoremap gz :Git reset %:p nnoremap gb :Git branch nnoremap gP :Git! push " Note: dangerous commands don't have a . Also commands that need " arguments, obviously. nnoremap gB :Git checkout -b nnoremap gC :Git checkout nnoremap gM :GMove nnoremap gp :Git pull --recurse-submodules nnoremap gr :GRename nnoremap gR :GRemove