buffet.vim : A fast, easy to use buffer list plugin for switching and managing buffers.
| script karma
Downloaded by 1392
Comments, bugs, improvements
script versions (upload new version)
|Please update the latest version of this plugin from the Mercurial repo at https://bitbucket.org/sras/buffet
When the plugin is invoked a horizontal window is opened with a list of buffers. the buffer numbers are also displayed along side.
Mercurial repo : https://bitbucket.org/sras/buffet
The user select a buffer by
1.Entering the buffer number using keyboard. Just start typing the number using keyboard.
The plugin will search for the buffer with that number and will keep going to the matching
buffers. Entered number will be shown at the top you can use backspace to edit it.When you
are in the desired buffer, press enter or any control keys that are
displayed at the bottom to execute any command available, on that buffer
Enter(Replace current buffer)
o - (Make window fill with selected buffer )
h/v - (Horizontal/vertical Split)
g - (Go to buffer window if it is visible in a tab)
d - (Delete selected buffer)
t - (Open buffer in a new tab)
c - (Clear all the diff views)
m - Toggle detailed view for files
x - Close a window, in whatever tab it is displayed.
'-' - (Opens a vertical window showing difference of the selected buffer with the current buffer. The scrolling of the new window will be bound to the current buffer )
2.Move up or down using the navigation keys to reach the buffer line.
3.Double click on a buffer line using the mouse. Will immediately switch to
If you are having any issues using the plugin or if you find any bugs, please let me know at email@example.com.
| Copy the file buffet.vim to the plugins directory.
The command to open the buffer list is
To make this plugin really useful you have to assign a shortcut key for it,
say you want F2 key to open the buffer list. you can add the following line in your .vimrc file.
map <F2> :Bufferlist<CR>
Click on the package to download.
ip used for rating: 22.214.171.124
|| Added buffer with no name to the list.
Layout change for buffer list.Made columns to correctly align on top of each other.
Removed the highlight for current window/buffer. Current window is enclosed in a > < instead
Made a shorter version of path to show initially, Can toggle detail view using 'm' key.
|| Added support for multiple windows showing same buffer.
Removed file type and file encoding information from buffer list.
Fixed an issue when vim is invoked from command line with multiple arguments
Added 'x' command to close a window in what ever tab it is displayed.
Changed the 'h' command to 'hh' to prevent accidental opening when moving across the list.
||Added 't' command to open a buffer in a new tab.
Removed the delete restriction for buffers currently displayed.
Added 'c' command to clear all the diff views for currently displayed windows.
||Fixed a bug where it resets the global value of scroll offset to 0,Thanks to Dimitri. Added '-' command for opening a vertical diff window showing diff with the current buffer
Fixed some minor issues.
||Added tab switching. If a buffer is displayed in another tab, then pressing 'g' will go to that tab and switch to the corresponding window.
Added file-encoding,file format,tab no and window no information for buffers in the list.
Bufferlist now opens at the very top with maximum width.
Fixed an issue with the 'g' navigation command
||Some highlighting fixes