mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-11-13 22:03:51 -05: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:
@@ -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