From 168de6fbc570a8c6928a42ce266f5a99abe4b0a9 Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Mon, 12 Mar 2012 18:36:16 -0400 Subject: [PATCH] Don't wipe status buffer This was to address #105, but the annoyance factor is too high to justify keeping it. --- plugin/fugitive.vim | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/plugin/fugitive.vim b/plugin/fugitive.vim index 83d8932..41299c8 100644 --- a/plugin/fugitive.vim +++ b/plugin/fugitive.vim @@ -1883,7 +1883,10 @@ function! s:BufReadIndex() endtry set ft=gitcommit endif - setlocal ro noma nomod noswapfile bufhidden=wipe + setlocal ro noma nomod noswapfile + if &bufhidden ==# '' + setlocal bufhidden=delete + endif call s:JumpInit() nunmap P nunmap ~