X-Git-Url: http://git.iain.cx/?a=blobdiff_plain;f=.vim%2Fplugin%2Fbufexplorer.vim;h=0e8904a47f3fa1ede269b765cc71cddcf44a2f16;hb=884267902e73908af24a211c7ae9205702d09a6e;hp=fc361da682a3add140c3c213a962973415c39197;hpb=faf4a05001d6e28292854d4602f3b793ead62194;p=profile.git diff --git a/.vim/plugin/bufexplorer.vim b/.vim/plugin/bufexplorer.vim index fc361da..0e8904a 100644 --- a/.vim/plugin/bufexplorer.vim +++ b/.vim/plugin/bufexplorer.vim @@ -1,5 +1,5 @@ -"============================================================================= -" Copyright: Copyright (C) 2001-2008 Jeff Lanzarotta +"============================================================================== +" Copyright: Copyright (C) 2001-2010 Jeff Lanzarotta " Permission is hereby granted to use and distribute this code, " with or without modifications, provided that this copyright " notice is copied with it. Like anything else that's free, @@ -10,26 +10,26 @@ " Name Of File: bufexplorer.vim " Description: Buffer Explorer Vim Plugin " Maintainer: Jeff Lanzarotta (delux256-vim at yahoo dot com) -" Last Changed: Wednesday, 19 Nov 2008 +" Last Changed: Friday, 22 October 2010 " Version: See g:bufexplorer_version for version number. " Usage: This file should reside in the plugin directory and be " automatically sourced. " " You may use the default keymappings of " -" be - Opens BufExplorer -" bs - Opens horizontally split window BufExplorer -" bv - Opens vertically split window BufExplorer +" be - Opens BE. +" bs - Opens horizontally window BE. +" bv - Opens vertically window BE. " " Or you can use " -" ":BufExplorer" - Opens BufExplorer -" ":HSBufExplorer" - Opens horizontally window BufExplorer -" ":VSBufExplorer" - Opens vertically split window BufExplorer +" ":BufExplorer" - Opens BE. +" ":BufExplorerHorizontalSplit" - Opens horizontally window BE. +" ":BufExplorerVerticalSplit" - Opens vertically window BE. " " For more help see supplied documentation. " History: See supplied documentation. -"============================================================================= +"============================================================================== " Exit quickly if already running or when 'compatible' is set. {{{1 if exists("g:bufexplorer_version") || &cp @@ -38,7 +38,7 @@ endif "1}}} " Version number -let g:bufexplorer_version = "7.2.2" +let g:bufexplorer_version = "7.2.8" " Check for Vim version 700 or greater {{{1 if v:version < 700 @@ -47,17 +47,29 @@ if v:version < 700 endif " Public Interface {{{1 -nmap be :BufExplorer -nmap bs :HSBufExplorer -nmap bv :VSBufExplorer +if maparg("be") =~ 'BufExplorer' + nunmap be +endif + +if maparg("bs") =~ 'BufExplorerHorizontalSplit' + nunmap bs +endif + +if maparg("bv") =~ 'BufExplorerVerticalSplit' + nunmap bv +endif + +nmap