Use gitv for git history
This commit is contained in:
parent
f3334ef6c8
commit
362b0304ac
3 changed files with 7 additions and 1 deletions
6
bundles-init/gitv.cfg.vim
Normal file
6
bundles-init/gitv.cfg.vim
Normal file
|
@ -0,0 +1,6 @@
|
|||
let g:Gitv_OpenPreviewOnLaunch = 0
|
||||
let g:Gitv_OpenHorizontal = 1
|
||||
let g:Gitv_WipeAllOnClose = 1
|
||||
nmap <leader>gl :Gitv! --all<cr>
|
||||
vmap <leader>gl :Gitv! --all<cr>
|
||||
nmap <leader>gL :Gitv --all<cr>
|
1
bundles-init/gitv.load.vim
Normal file
1
bundles-init/gitv.load.vim
Normal file
|
@ -0,0 +1 @@
|
|||
NeoBundle 'gregsexton/gitv'
|
|
@ -1,7 +1,6 @@
|
|||
" Fugitive commands that don't require interaction with GitGutter or NERDTree
|
||||
nnoremap <silent> <Leader>gd :Gdiff<cr>
|
||||
nnoremap <silent> <Leader>gs :Gstatus<cr>
|
||||
nnoremap <silent> <Leader>gl :Silent Glog<cr>:bot copen<cr>
|
||||
nnoremap <silent> <Leader>gc :Gcommit -q<cr>
|
||||
nnoremap <Leader>gb :Git branch<space>
|
||||
|
||||
|
|
Loading…
Reference in a new issue