Use vim-fugitive (:Gblame is too habit!)

This commit is contained in:
Andrew Tomaka 2022-01-07 09:02:52 -05:00
parent 362f9fb0f6
commit 9d624ee683
Signed by: atomaka
GPG key ID: 61209BF70A5B18BE

View file

@ -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 <Leader>fw :StripWhitespace<cr>
" vim-eunuch
map <Leader>sa :Move %<tab>
" Fugitive
autocmd FileType fugitiveblame nmap <buffer> q gq
command! Gblame :G blame
map <Leader>gb :Git blame<cr>
" vim-plug
map <Leader>pc :PlugClean<cr>
map <Leader>pi :PlugInstall<cr>