Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Vimrc: delete hidden fugitive buffers

Signed-off-by: Chris Larson <kergoth@gmail.com>
  • Loading branch information...
commit 163c8d217188670e040877b9c1ade795b883e458 1 parent 8c2a669
Christopher Larson authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  vimrc
2  vimrc
View
@@ -762,6 +762,8 @@ if has('autocmd')
au BufReadPre .git/COMMIT_EDITMSG set noundofile
endif
+ autocmd BufReadPost fugitive://* set bufhidden=delete
+
" Reload file with the correct encoding if fenc was set in the modeline
au BufReadPost * let b:reloadcheck = 1
au BufWinEnter *
Please sign in to comment.
Something went wrong with that request. Please try again.