Use vim-fugitive (:Gblame is too habit!)
This commit is contained in:
parent
362f9fb0f6
commit
9d624ee683
1 changed files with 6 additions and 0 deletions
|
@ -5,6 +5,7 @@ Plug 'junegunn/fzf'
|
||||||
Plug 'moll/vim-bbye'
|
Plug 'moll/vim-bbye'
|
||||||
Plug 'ntpeters/vim-better-whitespace'
|
Plug 'ntpeters/vim-better-whitespace'
|
||||||
Plug 'tpope/vim-eunuch'
|
Plug 'tpope/vim-eunuch'
|
||||||
|
Plug 'tpope/vim-fugitive'
|
||||||
Plug 'tpope/vim-surround'
|
Plug 'tpope/vim-surround'
|
||||||
Plug 'troydm/zoomwintab.vim'
|
Plug 'troydm/zoomwintab.vim'
|
||||||
|
|
||||||
|
@ -91,6 +92,11 @@ map <Leader>fw :StripWhitespace<cr>
|
||||||
" vim-eunuch
|
" vim-eunuch
|
||||||
map <Leader>sa :Move %<tab>
|
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
|
" vim-plug
|
||||||
map <Leader>pc :PlugClean<cr>
|
map <Leader>pc :PlugClean<cr>
|
||||||
map <Leader>pi :PlugInstall<cr>
|
map <Leader>pi :PlugInstall<cr>
|
||||||
|
|
Loading…
Reference in a new issue