diff --git a/.gitmodules b/.gitmodules index ac351aaa..bd7d52e1 100644 --- a/.gitmodules +++ b/.gitmodules @@ -52,3 +52,6 @@ [submodule "vim/bundle/Lokaltog-vim-easymotion"] path = vim/bundle/Lokaltog-vim-easymotion url = https://github.com/Lokaltog/vim-easymotion +[submodule "vim/bundle/vim-scripts-bufexplorer.zip"] + path = vim/bundle/vim-scripts-bufexplorer.zip + url = https://github.com/vim-scripts/bufexplorer.zip.git diff --git a/README.md b/README.md index e0c19620..2eac928d 100644 --- a/README.md +++ b/README.md @@ -142,6 +142,8 @@ Included vim plugins * NERDTree-tabs - makes NERDTree play nice with MacVim tabs so that it's on every tab * ShowMarks - creates a visual gutter to the left of the number column showing you your marks (saved locations). use \mt to toggle it, \mm to place the next available mark, \mh to delete, \ma to clear all. Use standard vim mark navigation ('X) for mark named X. * EasyMotion - hit ,, (forward) or z,, (back) and watch the magic happen. just type the letters and jump directly to your target + * BufExplorer - access with 'B' - a big buffer window, good for when you want to search for a buffer + * LustyJuggler - access with 'S' - a small buffer window at the bottom, each buffer is assigned to a home row key in order Git diff --git a/vim/bundle/vim-scripts-bufexplorer.zip b/vim/bundle/vim-scripts-bufexplorer.zip new file mode 160000 index 00000000..8c75e65b --- /dev/null +++ b/vim/bundle/vim-scripts-bufexplorer.zip @@ -0,0 +1 @@ +Subproject commit 8c75e65b647238febd0257658b150f717a136359 diff --git a/vim/plugin/bufexplorer.vim b/vim/plugin/bufexplorer.vim deleted file mode 100644 index 3514a7dd..00000000 --- a/vim/plugin/bufexplorer.vim +++ /dev/null @@ -1,1140 +0,0 @@ -"============================================================================== -" 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, -" bufexplorer.vim is provided *as is* and comes with no -" warranty of any kind, either expressed or implied. In no -" event will the copyright holder be liable for any damages -" resulting from the use of this software. -" Name Of File: bufexplorer.vim -" Description: Buffer Explorer Vim Plugin -" Maintainer: Jeff Lanzarotta (delux256-vim at yahoo dot com) -" Last Changed: Tuesday, 16 Feb 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 BE. -" bs - Opens horizontally window BE. -" bv - Opens vertically window BE. -" -" Or you can use -" -" ":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 - finish -endif -"1}}} - -" Version number -let g:bufexplorer_version = "7.2.7" - -" Check for Vim version 700 or greater {{{1 -if v:version < 700 - echo "Sorry, bufexplorer ".g:bufexplorer_version."\nONLY runs with Vim 7.0 and greater." - finish -endif - -" Public Interface {{{1 -if maparg("be") =~ 'BufExplorer' - nunmap be -endif - -if maparg("bs") =~ 'BufExplorerHorizontalSplit' - nunmap bs -endif - -if maparg("bv") =~ 'BufExplorerVerticalSplit' - nunmap bv -endif - -nmap