Use gitv for git history

This commit is contained in:
Emmanuel BENOîT 2016-12-19 20:43:27 +01:00
parent f3334ef6c8
commit 362b0304ac
3 changed files with 7 additions and 1 deletions

View 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>

View file

@ -0,0 +1 @@
NeoBundle 'gregsexton/gitv'

View file

@ -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>