From 9d624ee6834501f5f2d700dc5f87ad502c41af86 Mon Sep 17 00:00:00 2001 From: Andrew Tomaka Date: Fri, 7 Jan 2022 09:02:52 -0500 Subject: [PATCH] Use vim-fugitive (:Gblame is too habit!) --- vim/.vimrc | 6 ++++++ 1 file changed, 6 insertions(+) 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