- Dr Michael Henry suggested to change all noremap commands to nnoremap. Using noremap is unnecessarily broad and can cause problems, especially for select mode. - Revert change where bufexplorer windows was closed even if the target buffer has not been loaded yet. - Ivan Ukhov fixed issue with deleting the last window. This update also fixes as well as another. If you have say, NERDtree open on the left side and bufexplorer on the right, that bufexplorer would close NERDtree erroneously thinking that it is closing itself. - Radoslaw Burny fixed a few bugs that surfaced when bufexplorer is used within winmanager.
- First update related to Vim 7.4. - I have been asked by several bufexplorer users to put the code on github so that the Vundle plugin could be used to make updates easier. The code can now be found on github at https://github.com/jlanzarotta/bufexplorer. For those that use the Vundle plugin, you can add 'Bundle 'jlanzarotta/bufexplorer' to your _vimrc or .vimrc file to get the latest version. - Changed license text. - Fixed issue with 'hidden'. If 'hidden' is set, make sure that g:bufExplorerFindActive is set to 0. Otherwise, when using /bs or /bv, and selecting a buffer, the original buffer will be switched to instead of being opened in the newly created windows. - Added new 'b' mapping when the bufExplorer window is opened. When 'b' is pressed, the user is prompted for the buffer number to switch to, and is is then switched to when <CR> is pressed. This allows for somewhat faster buffer switching instead of using the j and k keys or the mouse to select the buffer to switch to. - Removed 'set nolist' from the Initialize() function as well as the restore of the 'list' setting in the CleanUp() function. These were causing issues when multiple new files were opened from the command line. Furthermore, there was really no reason, that I can remember, to why the 'list' setting was saved, modified, and restored anyways. - Fixed issue with WinManager integration code not working correctly anymore. - Brought back the xnoremap setup for the 'd' and 'D' keys. These were removed for some reason after version 7.2.8. - Thanks to all the contributors and testers. - If there are any issues you find or enhancements you would like, let me know.
* Major cleanup and reorganization of the change log. * We welcome the return of g:bufExplorerSplitHorzSize and g:bufExplorerSplitVertSize. When setting these values, anything less than or equal to 0 causes the split windows size to be determined by Vim. If for example you want your new horizontal split window 10 rows high, set g:bufExplorerSplitHorzSize = 10 in your .vimrc. Similar would be done if wanting a vertical split except you would use the g:bufExplorerSplitVertSize variable instead.
Thanks go out to Brett Rasmussen for pointing out that the feature added way back in version 7.2.3 by Yuriy Ershov to automatically reposition the cursor to the line containing the active buffer, was no longer in the plugin. That bit of code has been re-added and all is well.
It has been quite a while since I published a new version and this is the first version since Vim 7.3 was released. * Thanks to Tim Johnson for testing out this new version. * I have put some time into reworking and cleaning up the code as * well as various bug fixes. * I have hopefully allowed for better mapping of the main public methods as is explained in the bufexplorer- customization section of the documentation. * Add new 'B', 'o', and 'S' key mappings. * Overall, I am hopeful that I not forgotten or lost a feature :)
Thanks to Charles Campbell for integrating bufexplorer with GDBMGR. (http://mysite.verizon.net/astronaut/vim/index.html#GDBMGR)
Hopefully I have not let anyone or anything out :) - Enhancements: * Thanks to David Fishburn for helping me out with a much needed code overhaul as well as some awesome performance enhancements. He also reworked the handling of tabs. * Thanks to Vladimir Dobriakov for making the suggestions on enhancing the documentation to include a better explaination of what is contained in the main bufexplorer window. * Thanks to Yuriy Ershov for added code that when the bufexplorer window is opened, the cursor is now positioned at the line with the active buffer (useful in non-MRU sort modes). * Yuriy also added the abiltiy to cycle through the sort fields in reverse order. - Fixes: * Thanks to Michael Henry for supplying a patch that allows bufexplorer to be opened even when there is one buffer or less. * Thanks to Godefroid Chapelle for supplying a patch that fixed MRU sort order after loading a session.
7.2.1 - Fix: * Thanks to Dimitar for spotting and fixing a feature that was inadvertently left out of the previous version. The feature was when bufexplorer was used together with WinManager, you could use the tab key to open a buffer in a split window.
- Enhancements: * For all those missing the \bs and \bv commands, these have now returned. Thanks to Phil O'Connell for asking for the return of these missing features and helping test out this version. - Fixes: * Fixed problem with the bufExplorerFindActive code not working correctly. * Fixed an incompatibility between bufexplorer and netrw that caused buffers to be incorrectly removed from the MRU list.
Fixes: * Sometimes when a file's path has 'white space' in it, extra buffers would be created containing each piece of the path. i.e: opening c:\document and settings\test.txt would create a buffer named "and" and a buffer named "Documents". This was reported and fixed by TaCa Yoss.
This is a MAJOR update. * Added handling of tabs. (Dave Larson) * Removed \bs and \bv commands because these are easier for the user to create horizontal and vertical windows. (Dave Larson) * Fixed jumplist issue spotted by JiangJun. * Went back to using just a plugin file, instead of both an autoload and plugin file. The splitting of the file caused issues with other plugins. So if you have a prior version of bufexplorer that has an autoload file, please remove autoload\bufexplorer and plugin\bufexplorer before installing this new version. * Fixed E493 error spotted by Thomas Arendsen Hein. * Minor cosmetic changes. * Minor help file changes.
Thanks to Mark Smithfield for suggesting bufexplorer needed to handle the ':args' command. Fixed issue reported by Liu Jiaping on non Windows systems, which was ... Open file1, open file2, modify file1, open bufexplorer, you get the following error: --------8<-------- Error detected while processing function <SNR>14_StartBufExplorer..<SNR>14_SplitOpen: line 4: E37: No write since last change (add ! to override) --------8<-------- But the worse thing is, when I want to save the current buffer and type ':w', I get another error message: --------8<-------- E382: Cannot write, 'buftype' option is set --------8<--------
MAJOR Update. Please Note that this version will ONLY run with Vim version 7.0 or greater. Dave Eggum has made some 'significant' updates to this latest version: - Added BufExplorerGetAltBuf() global function to be used in the users rulerformat. - Added g:bufExplorerSplitRight option. - Added g:bufExplorerShowRelativePath option with mapping. - Added current line highlighting. - The split type can now be changed whether bufexplorer is opened in split mode or not. - Various major and minor bug fixes and speed improvements. - Sort by extension. Other improvements/changes: - Changed the help key from '?' to <F1> to be more 'standard'. - Fixed splitting of vertical bufexplorer window.