plugins - Load vim-fugitive
This commit is contained in:
parent
4e48c149aa
commit
a6d2972758
3 changed files with 6 additions and 1 deletions
|
@ -1 +0,0 @@
|
||||||
NeoBundle 'tpope/vim-fugitive'
|
|
1
plugins/vim-fugitive.cfg.vim
Normal file
1
plugins/vim-fugitive.cfg.vim
Normal file
|
@ -0,0 +1 @@
|
||||||
|
autocmd FileType fugitive setlocal signcolumn=no nonumber norelativenumber notimeout
|
|
@ -1,3 +1,8 @@
|
||||||
|
call dein#add('tpope/vim-fugitive', #{
|
||||||
|
\ lazy: 1,
|
||||||
|
\ on_cmd: [ 'Git', 'Gvdiffsplit', 'GMove', 'GRename', 'GRemove' ],
|
||||||
|
\ })
|
||||||
|
|
||||||
" Fugitive commands that don't require interaction with GitGutter or NERDTree
|
" Fugitive commands that don't require interaction with GitGutter or NERDTree
|
||||||
nnoremap <silent> <Leader>ga :Git add %:p<cr>
|
nnoremap <silent> <Leader>ga :Git add %:p<cr>
|
||||||
nnoremap <silent> <Leader>gd :Gvdiffsplit<cr>
|
nnoremap <silent> <Leader>gd :Gvdiffsplit<cr>
|
Loading…
Reference in a new issue