mirror of
https://github.com/amix/vimrc
synced 2025-06-23 06:35:01 +08:00
Updated plugins
This commit is contained in:
@ -5,10 +5,10 @@ BufExplorer Plugin for Vim
|
||||
|
||||
With bufexplorer, you can quickly and easily switch between buffers by using the one of the default public interfaces:
|
||||
|
||||
'<Leader>be' (normal open) or
|
||||
'<Leader>bt' (toggle open / close) or
|
||||
'<Leader>bs' (force horizontal split open) or
|
||||
'<Leader>bv' (force vertical split open)
|
||||
'\<Leader\>be' (normal open) or
|
||||
'\<Leader\>bt' (toggle open / close) or
|
||||
'\<Leader\>bs' (force horizontal split open) or
|
||||
'\<Leader\>bv' (force vertical split open)
|
||||
|
||||
Once the bufexplorer window is open you can use the normal movement keys (hjkl) to move around and then use <Enter> or <Left-Mouse-Click> to select the buffer you would like to open. If you would like to have the selected buffer opened in a new tab, simply press either <Shift-Enter> or 't'. Please note that when opening a buffer in a tab, that if the buffer is already in another tab, bufexplorer can switch to that tab automatically for you if you would like. More about that in the supplied VIM help.
|
||||
|
||||
@ -28,8 +28,8 @@ This plugin can also be found at http://www.vim.org/scripts/script.php?script_id
|
||||
|
||||
## Installation
|
||||
### Manually
|
||||
1. If you do not want to use on the the bundle handlers, you can take the zip
|
||||
file from vim.org and unzip it and copy the plugin to your vimfiles\plugin
|
||||
1. If you do not want to use one of the the bundle handlers, you can take the
|
||||
zip file from vim.org and unzip it and copy the plugin to your vimfiles\plugin
|
||||
directory and the txt file to your vimfiles\doc directory. If you do that,
|
||||
make sure you generate the help by executing
|
||||
|
||||
@ -65,7 +65,7 @@ This plugin can also be found at http://www.vim.org/scripts/script.php?script_id
|
||||
git clone https://github.com/jlanzarotta/bufexplorer.git ~/.vim/bundle/bufexplorer.vim
|
||||
|
||||
## License
|
||||
Copyright (c) 2001-2019, Jeff Lanzarotta
|
||||
Copyright (c) 2001-2020, Jeff Lanzarotta
|
||||
|
||||
All rights reserved.
|
||||
|
||||
|
@ -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