-
Notifications
You must be signed in to change notification settings - Fork 7
home
Buffet is a plugin for the vim editor for listing and switching buffers, windows and tabs.(vim.org)
New in this version.
- 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.
Screenshot: http://i40.tinypic.com/nv1iqa.png
When the plugin is invoked, it opens a horizontal window at the top. This window contains a list of buffers, sorted in the most recently used order.
If a buffer is displayed in more than one window, those windows are listed below the buffer entry with tab number and window number.
Please see screenshot
User can move up or down in the list using navigation keys to select a buffer/window.
When user is on a buffer/window, there is a set of commands he can execute on the buffer by pressing the corresponding key. The available commands are,
Pressing the enter key loads the selected buffer into the window from which the plugin was called.
Splits the window from which the plugin was invoked horizontally , and loads the selected buffer into the new window.
Splits the window from which the plugin was invoked vertically, and loads the selected buffer into the new window.
Loads a diff view of the selected buffer with the buffer from which the plugin was called. The two windows will be scroll bind ed.
The above - command may cause some windows to retain the diff flag even after the paired window is closed. The 'c'
command clears the diff flag for all windows in the current tab.
This command maximizes the window to fill the current tab page, hiding all the windows of the current tab.
This command switches focus to the selected window if it is visible in any of the tabs.
This command deletes the selected buffer from the buffer list.
This command closes the selected window. It does not matter if the window is open in another tab. Buffer is not removed from the list