PopupBuffer.vim : Vim global plugin for selecting buffer from PopUp menu
script karma |
Rating 39/18,
Downloaded by 2837 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
Gontran BAERTS |
|
script type |
utility |
|
description |
This script is an adaptation of the default list buffer menu from menu.vim file. With mousefocus on and horizontally splited windows, it's very difficult to select an other buffer for the bottom window from the Buffer menu :). With the PopupBuffer script, right-click on the bottom window and select an other buffer from the Buffers submenu. |
|
install details |
Requires to launch Vim with GUI mode. Put setmousemodel=popup or set mousemodel=popup_setpos to your .vimrc file. Copy this script to your ~/.vim/plugin directory, et voilĂ ! |
|
script versions (upload new version)
Click on the package to download.
PopupBuffer.vim |
1.1.1 |
2001-11-14 |
6.0 |
Gontran BAERTS |
- Fix stupid bug in PBAdd() function. Directories were added to popup buffers menu and never removed. |
PopupBuffer.vim |
1.1 |
2001-11-13 |
6.0 |
Gontran BAERTS |
Vim global plugin for selecting buffer from PopUp menu.
Updates in version 1.1 :
- Allow to control the menu item format with popupBufferPattern global variable. Use %F for full file path, %f for file name, %p for file path, and %n for buffer number.
For example:
let g:popupBufferPattern = "Select %f (%n) from %p directory"
- Fix unremoved deleted buffers from menu
- Improve addition of new item to menu. Don't add all buffers each time.
|
PopupBuffer.vim |
1.0 |
2001-11-02 |
6.0 |
Gontran BAERTS |
Initial upload |
ip used for rating: 216.73.216.194
|