diff --git a/vim/.vimrc b/vim/.vimrc index 26de0ca..fb04c51 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -5,6 +5,7 @@ Plug 'junegunn/fzf' Plug 'moll/vim-bbye' Plug 'ntpeters/vim-better-whitespace' Plug 'tpope/vim-eunuch' +Plug 'tpope/vim-fugitive' Plug 'tpope/vim-surround' Plug 'troydm/zoomwintab.vim' @@ -91,6 +92,11 @@ map fw :StripWhitespace " vim-eunuch map sa :Move % +" Fugitive +autocmd FileType fugitiveblame nmap q gq +command! Gblame :G blame +map gb :Git blame + " vim-plug map pc :PlugClean map pi :PlugInstall