From 362b0304ac8033cc22d431acc5945b3e5d89c093 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emmanuel=20Beno=C3=AEt?= Date: Mon, 19 Dec 2016 20:43:27 +0100 Subject: [PATCH] Use gitv for git history --- bundles-init/gitv.cfg.vim | 6 ++++++ bundles-init/gitv.load.vim | 1 + bundles-init/vim-fugitive.cfg.vim | 1 - 3 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 bundles-init/gitv.cfg.vim create mode 100644 bundles-init/gitv.load.vim diff --git a/bundles-init/gitv.cfg.vim b/bundles-init/gitv.cfg.vim new file mode 100644 index 0000000..599628c --- /dev/null +++ b/bundles-init/gitv.cfg.vim @@ -0,0 +1,6 @@ +let g:Gitv_OpenPreviewOnLaunch = 0 +let g:Gitv_OpenHorizontal = 1 +let g:Gitv_WipeAllOnClose = 1 +nmap gl :Gitv! --all +vmap gl :Gitv! --all +nmap gL :Gitv --all diff --git a/bundles-init/gitv.load.vim b/bundles-init/gitv.load.vim new file mode 100644 index 0000000..73ea034 --- /dev/null +++ b/bundles-init/gitv.load.vim @@ -0,0 +1 @@ +NeoBundle 'gregsexton/gitv' diff --git a/bundles-init/vim-fugitive.cfg.vim b/bundles-init/vim-fugitive.cfg.vim index 8cb1a52..571cc75 100644 --- a/bundles-init/vim-fugitive.cfg.vim +++ b/bundles-init/vim-fugitive.cfg.vim @@ -1,7 +1,6 @@ " Fugitive commands that don't require interaction with GitGutter or NERDTree nnoremap gd :Gdiff nnoremap gs :Gstatus -nnoremap gl :Silent Glog:bot copen nnoremap gc :Gcommit -q nnoremap gb :Git branch