From 1e82c625808539313df502eb69fd624311b1d68a Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Sat, 29 Dec 2018 23:53:30 +0800 Subject: vim: Tweak fugitive plugin settings --- _vim/vimrc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/_vim/vimrc b/_vim/vimrc index 5574c0d..3b87fb9 100644 --- a/_vim/vimrc +++ b/_vim/vimrc @@ -298,11 +298,17 @@ inoremap vnoremap y "+y noremap p "+p + +""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" +" => Plugin settings +""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" " Mappings for vim-fugitive nnoremap gs :Gstatus nnoremap gd :Gdiff nnoremap gb :Gblame +autocmd BufReadPost fugitive://* setlocal bufhidden=delete + """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" " => Helper functions -- cgit v1.2.2