"============================================================================= " Name Of File: bufexplorer.vim " Description: Buffer Explorer Plugin " Maintainer: Jeff Lanzarotta (frizbeefanatic@yahoo.com) " Last Change: Tuesday, July 31, 2001 " Version: 6.0.4 " Usage: Normally, this file should reside in the plugins " directory and be automatically sourced. If not, you must " manually source this file using ':source bufexplorer.vim'. " " Run ':BufExplorer' to launch the explorer and runs the " user-specified command in the current window, or " ':SBufExplorer' to launch the explorer and run the " user-specified command in the the newly split window. " " You may use the default keymappings of " " be - Opens BufExplorer " bs - Opens split windows BufExplorer " " or you may want to add something like the following " three key mappings to your _vimrc/.vimrc file. " " map b :BufExplorer " map B :SBufExplorer " map :BufExplorer " " If the current buffer is modified, the current window is " always split. " " To control where the new split windows goes relative to " the current window, use the variable:" " let g:bufExplSplitBelow=0 " Put new window above " " current. " let g:bufExplSplitBelow=1 " Put new window below " " current. " The default for this is to split 'above'. " " History: 6.0.4 - Thanks to Charles Campbell for making this " plugin more plugin *compliant*, adding default " keymappings of be and bs as well " as fixing the 'w:sortDirLabel not being defined' " bug. " 6.0.3 - Added sorting capabilities. Sort taken from " explorer.vim. " 6.0.2 - Can't remember. "============================================================================= " Has this already been loaded? if exists("loaded_bufexplorer") finish endif let loaded_bufexplorer = 1 if !hasmapto('StartBufExplorer') map be StartBufExplorer endif if !hasmapto('SplitBufExplorer') map bs SplitBufExplorer endif map