bufexplorer.zip - Easily switch between buffers without knowing their numbers : vim online
Keywords: Vim, Vi IMproved, text editor, home, documentation, tips, scripts, news

bufexplorer.zip : Easily switch between buffers without knowing their numbers
script karma | Rating 1307/438, Downloaded by 21665
created by
jeff lanzarotta
script type
utility
description
With bufexplorer, you can quickly switch between buffers by using '\be' to open the explorer or '\bs' to open the explorer in a split horizontal window or \bv to open the explorer in a split vertical window. These are the default values, but these can be changed to what ever you would like. Once the explorer is open you can perform various operations on the buffers. You can sort (by MRU (default), buffer number, buffer name, or full file path) in forward or reverse order. You can delete buffers. You as see toggle the full directory paths on your buffers. You can select a buffer to open by using the keyboard to select the buffer or by double-clicking the mouse on the selected buffer. You can even open the selected buffer in a new window is you would like. If you need help while in the explorer press the '?' key. And finally to quit the explorer, press the <esc> key... If you would like more detailed information, please take a look at the supplied documentation. NOTE: Version 6.3.0 and above will ONLY work with 6.3 and above of Vim.
install details
Simply unzip bufexplorer.zip into a directory in your 'runtimepath', usually ~/.vim or c:\vimfiles, and restart Vim. This zip file contains plugin\bufexplorer.vim and doc\bufexplorer.txt. See ':help add-local-help' on how to add bufexplorer.txt to vim's help system. NOTE: Version 6.3.0 and above will ONLY work with 6.3 and above of Vim.
rate this script | Life Changing Helpful Unfulfilling
script versions (upload new version) Click on the package to download.
package | script version | date | Vim version | user | release notes
--- | --- | --- | --- | --- | ---
bufexplorer.zip | 7.0.11 | 2006-03-10 | 6.0 | jeff lanzarotta | Fixed a couple of highlighting bugs, reported by David Eggum. He also changed passive voice to active on a couple of warning messages.
bufexplorer.zip | 7.0.10 | 2006-03-02 | 6.0 | jeff lanzarotta | Fixed bug report by Xiangjiang Ma. If the 'ssl' option is set, the slash character used when displaying the path was incorrect. Thanks Xiangjiang!
bufexplorer.zip | 7.0.9 | 2006-02-28 | 6.0 | jeff lanzarotta | Martin Grenfell found and eliminated an annoying bug in the bufexplorer/winmanager integration. The bug was were an annoying message would be displayed when a window was split or a new file was opened in a new window. Thanks Martin!
bufexplorer.zip | 7.0.8 | 2006-01-18 | 6.0 | jeff lanzarotta | Thanks to Mike Li for catching a bug in the WinManager integration. The bug was related to the incorrect displaying of the buffer explorer's window title.
bufexplorer.zip | 7.0.7 | 2005-12-19 | 6.0 | jeff lanzarotta | Thanks to Jeremy Cowgar for adding a new enhancement. This enhancement allows the user to press 'S', that is capital S, which will open the buffer under the cursor in a newly created split window.
bufexplorer.zip | 7.0.6 | 2005-11-18 | 6.0 | jeff lanzarotta | Thanks to Larry Zhang for finding a bug in the "split" buffer code. If you force set g:bufExplorerSplitType='v' in your vimrc, and if you tried to do a \bs to split the bufexplorer window, it would always split horizontal, not vertical. He also found that I had a typeo in that the variable g:bufExplorerSplitVertSize was all lower case in the documentation which was incorrect.
bufexplorer.zip | 7.0.5 | 2005-10-18 | 6.0 | jeff lanzarotta | Thanks to Mun Johl for pointing out a bug that if a buffer was modified, the '+' was not showing up correctly.
bufexplorer.zip | 7.0.4 | 2005-10-03 | 6.0 | jeff lanzarotta | Fixed a problem discovered first by Xiangjiang Ma. Well since I've been using vim 7.0 and not 6.3, I started using a function (getftype) that is not in 6.3. So for backward compatibility, I conditionaly use this function now. Thus, the g:bufExplorerShowDirectories feature is only available when using vim 7.0 and above.
bufexplorer.zip | 7.0.3 | 2005-09-30 | 6.0 | jeff lanzarotta | Thanks to Erwin Waterlander for finding a problem when the last buffer was deleted. This issue got me to rewrite the buffer display logic (which I've wanted to do for sometime now). Also great thanks to Dave Eggum for coming up with idea for g:bufExplorerShowDirectories. Directories usually show up in the list from using a command like ":e .", this controls how those are displayed.
bufexplorer.zip | 7.0.2 | 2005-03-25 | 6.0 | jeff lanzarotta | Thanks to Thomas Arendsen Hein for finding a problem when a user has the default help turned off and then brought up the explorer. An E493 would be displayed.
bufexplorer.zip | 7.0.1 | 2005-03-10 | 6.0 | jeff lanzarotta | Thanks to Erwin Waterlander for finding a couple problems. The first problem allowed a modified buffer to be deleted. Opps! The second problem occured when several files were opened, BufExplorer was started, the current buffer was deleted using the 'd' option, and then BufExplorer was exited. The deleted buffer was still visible while it is not in the buffers list. Opps again!
bufexplorer.zip | 7.0.0 | 2005-02-28 | 6.0 | jeff lanzarotta | Thanks to Shankar R. for suggesting to add the ability to set the fixed width (g:bufExplorerSplitVertSize) of a new window when opening bufexplorer vertically and fixed height (g:bufExplorerSplitHorzSize) of a new window when opening bufexplorer horizontally. By default, the windows are normally split to use half the existing width or height.
bufexplorer.zip | 6.3.0 | 2004-07-23 | 6.0 | jeff lanzarotta | Added keepjumps so that the jumps list would not get clutered with bufexplorer related stuff.
bufexplorer.zip | 6.2.3 | 2004-04-15 | 6.0 | jeff lanzarotta | Thanks to Jay Logan for finding a bug in the vertical split postion of the code. When selecting that the window was to be split vertically by doing a '\bv', from then on, all splits, i.e. '\bs', were split vertically, even though g:bufExplorerSplitType was not set to 'v'.
bufexplorer.zip | 6.2.2 | 2004-01-09 | 6.0 | jeff lanzarotta | Thanks to Patrik Modesto for adding a small improvement. For some reason his bufexplorer window was always showing up folded. He added 'setlocal nofoldenable' and it was fixed. If you are having the same problem, this version is for you...
bufexplorer.zip | 6.2.1 | 2003-10-09 | 6.0 | jeff lanzarotta | Thanks goes out to Takashi Matsuo for added the 'fullPath' sorting logic and option.
bufexplorer.zip | 6.2.0 | 2003-06-13 | 6.0 | jeff lanzarotta | Thanks goes out to Simon Johann-Günter for spotting and fixing a problem in that the last search pattern is overriden by the search pattern for blank lines.
bufexplorer.zip | 6.1.6 | 2003-05-05 | 6.0 | jeff lanzarotta | Thanks to Artem Chuprina for finding a pesky bug that has been around for sometime now. The <esc> key mapping was causing the buffer explored to close prematurely when vim was run in an xterm. The <esc> key mapping is now removed.
bufexplorer.zip | 6.1.5 | 2003-04-28 | 6.0 | jeff lanzarotta | Thanks to Khorev Sergey. Added option to show default help or not.
bufexplorer.zip | 6.1.4 | 2003-03-18 | 6.0 | jeff lanzarotta | Thanks goes out to Valery Kondakoff for suggesting the addition of setlocal nonumber and foldcolumn=0. This allows for line numbering and folding to be turned off temporarily while in the explorer.
bufexplorer.zip | 6.1.3 | 2003-03-11 | 6.0 | jeff lanzarotta | Added the ability to force the newly split window to be temporarily vertical, which was suggested by Thomas Glanzmann. Added folding. Did some code cleanup.
bufexplorer.zip | 6.1.2 | 2002-11-05 | 6.0 | jeff lanzarotta | Now pressing the <esc> key will quit, just like 'q'. Added folds to hide winmanager configuration. If anyone had the 'C' option in their cpoptions they would receive a E10 error on startup of BufExplorer. cpo is now saved, updated and restored. Thanks to Charles E Campbell, Jr. Attempted to make sure there can only be one BufExplorer window open at a time.
bufexplorer.zip | 6.1.1 | 2002-03-28 | 6.0 | jeff lanzarotta | Thanks to Brian D. Goodwin for adding toupper to FileNameCmp. This way buffers sorted by name will be in the correct order regardless of case.
bufexplorer.zip | 6.0.16 | 2002-03-14 | 6.0 | jeff lanzarotta | Thanks to Andre Pang for the original patch/idea to get bufexplorer to work in insertmode/modeless mode (evim). Added Initialize and Cleanup autocommands to handle commands that need to be performed when starting or leaving bufexplorer.
bufexplorer.zip | 6.0.15 | 2002-02-20 | 6.0 | jeff lanzarotta | Srinath Avadhanulax added a patch for winmanager.vim.
bufexplorer.zip | 6.0.14 | 2002-02-19 | 6.0 | jeff lanzarotta | Fix a yew more bug that I thought I already had fixed. Thanks to Eric Bloodworth for adding 'Open Mode/Edit in Place'. Added vertical splitting.
bufexplorer.zip | 6.0.13 | 2002-02-05 | 6.0 | jeff lanzarotta | Thanks to Charles E Campbell, Jr. for pointing out some embarrassing typos that I had in the documentation. I guess I need to run the spell checker more :o)
bufexplorer.zip | 6.0.12 | 2002-02-04 | 6.0 | jeff lanzarotta | Thanks to Madoka Machitani, for the tip on adding the augroup command around the MRUList autocommands.
bufexplorer.zip | 6.0.11 | 2002-01-26 | 6.0 | jeff lanzarotta | Fixed bug report by Xiangjiang Ma. '"=' was being added to the search history which messed up hlsearch.
bufexplorer.zip | 6.0.10 | 2002-01-14 | 6.0 | jeff lanzarotta | Added the necessary hooks so that the winmanager.vim script could more easily integrate with this script. Now the winmanager.vim script should not have to have it's own version of bufexplorer.vim. Tried to improve performance. Remember to look at 'help: add-local-help' on how to add the help file into the vim help system.
bufexplorer.zip | 6.0.9 | 2001-12-17 | 6.0 | jeff lanzarotta | Now you can sort the buffer list by most recently used (MRU). Please note that this is now a .zip file. Please unzip in your vimfiles, ~/.vim or whatever directory you store your vim stuff in. This file contains \plugin\bufexplorer.vim and \doc\bufexplorer.txt. To add the nifty help to vim look under ':help add-local-help' for more information.
bufexplorer.zip | 6.0.8 | 2001-12-03 | 6.0 | jeff lanzarotta | Was not resetting the showcmd command correctly. Added nifty help file.
bufexplorer.zip | 6.0.7 | 2001-11-19 | 6.0 | jeff lanzarotta | Thanks to Brett Carlane for some great enhancements. Some are added, some are not, yet. Added highlighting of current and alternate filenames. Added spliting of path/filename toggle. Reworked ShowBuffers(). Changed my email address.
bufexplorer.zip | 6.0.6 | 2001-09-05 | 6.0 | jeff lanzarotta | Fixed problem with the SortListing() function failing when there was only one buffer to display.
bufexplorer.zip | 6.0.5 | 2001-08-10 | 6.0 | jeff lanzarotta | Fixed problems reported by David Pascoe, in that you where unable to hit 'd' on a buffer that belonged to a files that nolonger existed and that the 'yank' buffer was being overridden by the help text when the bufexplorer was opened.
bufexplorer.zip | 6.0.4 | 2001-07-31 | 6.0 | jeff lanzarotta | Thanks to Charles Campbell for making this plugin more plugin *compliant*, adding default keymappings of <Leader>be and <Leader>bs as well as fixing the 'w:sortDirLabel not being defined' bug.
bufexplorer.zip | 6.0.3 | 2001-07-30 | 6.0 | jeff lanzarotta | Added ability to sort buffers by 'buffer number' or 'name' in forward and reverse order.
bufexplorer.zip | 6.0.2 | 2001-07-25 | 6.0 | jeff lanzarotta | Initial upload

| If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly. Questions about Vim should go to vim@vim.org after searching the archive. Help Bram help Uganda. stats |  |