mirror of
https://github.com/amix/vimrc
synced 2025-06-23 15:04:59 +08:00
Updated plugins
This commit is contained in:
@ -919,7 +919,7 @@ function! s:SelectBuffer(...)
|
||||
endif
|
||||
|
||||
" Switch to the selected buffer.
|
||||
execute "keepalt silent b!" _bufNbr
|
||||
execute "keepjumps keepalt silent b!" _bufNbr
|
||||
endif
|
||||
|
||||
" Make the buffer 'listed' again.
|
||||
@ -957,12 +957,6 @@ function! s:RemoveBuffer(mode)
|
||||
|
||||
let mode = a:mode
|
||||
|
||||
" Do not allow this buffer to be deleted if it is the last one.
|
||||
if len(s:MRUList) == 1
|
||||
call s:Error("Sorry, you are not allowed to delete the last buffer")
|
||||
return
|
||||
endif
|
||||
|
||||
" These commands are to temporarily suspend the activity of winmanager.
|
||||
if exists("b:displayMode") && b:displayMode == "winmanager"
|
||||
call WinManagerSuspendAUs()
|
||||
|
Reference in New Issue
Block a user