diff options
author | Aaron LI <aly@aaronly.me> | 2018-12-29 23:53:30 +0800 |
---|---|---|
committer | Aaron LI <aly@aaronly.me> | 2018-12-29 23:53:30 +0800 |
commit | 1e82c625808539313df502eb69fd624311b1d68a (patch) | |
tree | 2ec1615e858928005fd11f9b15b9c3b972b1ff45 | |
parent | 181c99eea7872be9bd6e40f90914bfdf24891b63 (diff) | |
download | dotfiles-1e82c625808539313df502eb69fd624311b1d68a.tar.bz2 |
vim: Tweak fugitive plugin settings
-rw-r--r-- | _vim/vimrc | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -298,11 +298,17 @@ inoremap <F1> <Esc> vnoremap <leader>y "+y noremap <leader>p "+p + +""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" +" => Plugin settings +""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" " Mappings for vim-fugitive nnoremap <leader>gs :Gstatus<cr> nnoremap <leader>gd :Gdiff<cr> nnoremap <leader>gb :Gblame<cr> +autocmd BufReadPost fugitive://* setlocal bufhidden=delete + """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" " => Helper functions |