mirror of
https://github.com/tpope/vim-fugitive.git
synced 2026-10-09 14:55:57 +08:00
Don't wipe status buffer
This was to address #105, but the annoyance factor is too high to justify keeping it.
This commit is contained in:
1 parent
14735b470a
commit
168de6fbc5
1 file changed
+4
-1
+4
-1
@@ -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 <buffer> P
|
||||
nunmap <buffer> ~
|
||||
|
||||
Reference in new issue
Block a user