From d547733432b90274df1339b5fad8a3e43fb526b9 Mon Sep 17 00:00:00 2001 From: DarkWiiPlayer Date: Thu, 12 Apr 2018 08:43:20 +0200 Subject: [PATCH] Change file_at_revision to set bufhidden=delete --- vimrc | 1 + 1 file changed, 1 insertion(+) diff --git a/vimrc b/vimrc index 517f35f..69c4f68 100644 --- a/vimrc +++ b/vimrc @@ -415,6 +415,7 @@ function! s:file_at_revision(rev) exec "r!git show ".a:rev.":".l:fname setl nomodifiable setl buftype=nofile + setl bufhidden=delete let &filetype = l:ftype let b:git_original_file = l:fname