mirror of
https://github.com/tpope/vim-fugitive.git
synced 2026-05-24 17:28:37 +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:
+4
-1
@@ -1883,7 +1883,10 @@ function! s:BufReadIndex()
|
|||||||
endtry
|
endtry
|
||||||
set ft=gitcommit
|
set ft=gitcommit
|
||||||
endif
|
endif
|
||||||
setlocal ro noma nomod noswapfile bufhidden=wipe
|
setlocal ro noma nomod noswapfile
|
||||||
|
if &bufhidden ==# ''
|
||||||
|
setlocal bufhidden=delete
|
||||||
|
endif
|
||||||
call s:JumpInit()
|
call s:JumpInit()
|
||||||
nunmap <buffer> P
|
nunmap <buffer> P
|
||||||
nunmap <buffer> ~
|
nunmap <buffer> ~
|
||||||
|
|||||||
Reference in New Issue
Block a user