r1292 - in /trunk/packages/vim-scripts: debian/changelog debian/vim-scripts.status doc/bufexplorer.txt html/index.html html/plugin_bufexplorer.vim.html plugin/bufexplorer.vim

jamessan at users.alioth.debian.org jamessan at users.alioth.debian.org
Sat Dec 6 02:15:47 UTC 2008


Author: jamessan
Date: Sat Dec  6 02:15:45 2008
New Revision: 1292

URL: http://svn.debian.org/wsvn/pkg-vim/?sc=1&rev=1292
Log:
    Update bufexplorer

Modified:
    trunk/packages/vim-scripts/debian/changelog
    trunk/packages/vim-scripts/debian/vim-scripts.status
    trunk/packages/vim-scripts/doc/bufexplorer.txt
    trunk/packages/vim-scripts/html/index.html
    trunk/packages/vim-scripts/html/plugin_bufexplorer.vim.html
    trunk/packages/vim-scripts/plugin/bufexplorer.vim

Modified: trunk/packages/vim-scripts/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-vim/trunk/packages/vim-scripts/debian/changelog?rev=1292&op=diff
==============================================================================
--- trunk/packages/vim-scripts/debian/changelog (original)
+++ trunk/packages/vim-scripts/debian/changelog Sat Dec  6 02:15:45 2008
@@ -2,7 +2,7 @@
 
   * Updated addons:
     - supertab, NERD_commenter, xmledit (Closes: #503707), vcscommand, Align,
-      gnupg
+      gnupg, bufexplorer
   * Renamed addons:
     - themes => color_sample_pack
 

Modified: trunk/packages/vim-scripts/debian/vim-scripts.status
URL: http://svn.debian.org/wsvn/pkg-vim/trunk/packages/vim-scripts/debian/vim-scripts.status?rev=1292&op=diff
==============================================================================
--- trunk/packages/vim-scripts/debian/vim-scripts.status (original)
+++ trunk/packages/vim-scripts/debian/vim-scripts.status Sat Dec  6 02:15:45 2008
@@ -47,7 +47,7 @@
 license:     license [2], see below
 extras:	     doc/bufexplorer.txt
 disabledby:  let loaded_bufexplorer = 1
-version:     7.1.7
+version:     7.2.2
 
 script_name: plugin/minibufexpl.vim
 addon:       minibufexplorer

Modified: trunk/packages/vim-scripts/doc/bufexplorer.txt
URL: http://svn.debian.org/wsvn/pkg-vim/trunk/packages/vim-scripts/doc/bufexplorer.txt?rev=1292&op=diff
==============================================================================
--- trunk/packages/vim-scripts/doc/bufexplorer.txt (original)
+++ trunk/packages/vim-scripts/doc/bufexplorer.txt Sat Dec  6 02:15:45 2008
@@ -1,7 +1,7 @@
-*bufexplorer.txt*              Buffer Explorer       Last Change: 21 Dec 2007
+*bufexplorer.txt*              Buffer Explorer       Last Change: 19 Nov 2008
 
 Buffer Explorer                                *buffer-explorer* *bufexplorer*
-                                Version 7.1.7
+                                Version 7.2.2
 
 Plugin for easily exploring (or browsing) Vim |:buffers|.
 
@@ -36,8 +36,11 @@
 USAGE                                                      *bufexplorer-usage*
 
 To start exploring in the current window, use: >
-
  \be   OR  :BufExplorer
+To start exploring in a newly split horizontal window, use: >
+ \bs  or  :HSBufExplorer
+To start exploring in a newly split vertical window, use: >
+ \bv  or  :VSBufExplorer
 
 If you would like to use something other than '\', you may simply change the
 leader (see |mapleader|).
@@ -136,6 +139,14 @@
   let g:bufExplorerSortBy='number'     " Sort by the buffer's number.
 The default is to sort by mru.
 
+                                                      *g:bufExplorerSplitBelow*
+To control where the new split window will be placed above or below the
+current window, use: >
+  let g:bufExplorerSplitBelow=1        " Split new window below current.
+  let g:bufExplorerSplitBelow=0        " Split new window above current.
+The default is to use what ever is set by the global &splitbelow
+variable.
+
                                                 *g:bufExplorerSplitOutPathName*
 To control whether to split out the path and file name or not, use: >
   let g:bufExplorerSplitOutPathName=1  " Split the path and file name.
@@ -143,9 +154,34 @@
                                        " name.
 The default is to split the path and file name.
 
+                                                      *g:bufExplorerSplitRight*
+To control where the new vsplit window will be placed to the left or right of
+current window, use: >
+  let g:bufExplorerSplitRight=0        " Split left.
+  let g:bufExplorerSplitRight=1        " Split right.
+The default is to use the global &splitright.
+
 ===============================================================================
 CHANGE LOG                                              *bufexplorer-changelog*
 
+7.2.2  - Fix:
+         * Thanks to David L. Dight for spotting and fixing an issue when
+           using ctrl^. bufexplorer would incorrectly handle the previous
+           buffer so that when ctrl^ was pressed the incorrect file was opened.
+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.
+7.2.0  - 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.
 7.1.7  - Fixes:
          * TaCahiroy fixed several issues related to opening a buffer in a
            tab.
@@ -391,7 +427,6 @@
 
 - The issuing of a ':bd' command does not always remove the buffer number from
   the MRU list.
-- Look into adding '\bs' (buffer split) command back into the code.
 
 ===============================================================================
 CREDITS                                                   *bufexplorer-credits*

Modified: trunk/packages/vim-scripts/html/index.html
URL: http://svn.debian.org/wsvn/pkg-vim/trunk/packages/vim-scripts/html/index.html?rev=1292&op=diff
==============================================================================
--- trunk/packages/vim-scripts/html/index.html (original)
+++ trunk/packages/vim-scripts/html/index.html Sat Dec  6 02:15:45 2008
@@ -51,7 +51,7 @@
    <li><a href="syntax_mkd.vim.html">syntax/mkd.vim.html</a></li>
   </ul>
   <p>
-  Page generated on Fri, 05 Dec 2008 16:26:22 -0500
+  Page generated on Fri, 05 Dec 2008 21:13:33 -0500
 .
   </p>
  </body>

Modified: trunk/packages/vim-scripts/html/plugin_bufexplorer.vim.html
URL: http://svn.debian.org/wsvn/pkg-vim/trunk/packages/vim-scripts/html/plugin_bufexplorer.vim.html?rev=1292&op=diff
==============================================================================
--- trunk/packages/vim-scripts/html/plugin_bufexplorer.vim.html (original)
+++ trunk/packages/vim-scripts/html/plugin_bufexplorer.vim.html Sat Dec  6 02:15:45 2008
@@ -153,8 +153,8 @@
 <tr>
   <td class="lightbg"><b>&nbsp;script karma&nbsp;</b></td>
   <td>
-    Rating <b>1710/558</b>,
-    Downloaded by 31829  </td>
+    Rating <b>1933/633</b>,
+    Downloaded by 38963  </td>
 </tr>
 </table>
 <p>
@@ -167,7 +167,7 @@
 <tr><td>utility</td></tr>
 <tr><td>&nbsp;</td></tr>
 <tr><td class="prompt">description</td></tr>
-<tr><td>Information for version 7.1.0 and above
<br>
<br>With bufexplorer, you can quickly switch between buffers by using '\be' to open the explorer.vim. Then by using the normal movement keys or mouse to select the needed buffer and then finally pressing &lt;Enter&gt; or &lt;Left Mouse Click&gt; to open the buffer in the current window or &lt;Shift Enter&gt; or 't' to open that buffer in a new tab.&nbsp;&nbsp;If the buffer is in another tab already, bufexplorer can switch to that tab if you would like.
<br>
<br>Information for versions prior to 7.1.0
<br>
<br>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.
<br>
<br>General Information
<br>
<br>Once invoked, Buffer Explorer displays a sorted list in MRU order (Most Recently Used is the default sort method) of all the buffers that are currently opened. You can then get help (&lt;F1&gt;), resort the list, reverse the sort, quit, etc., etc.. You are also able to move the cursor or mouse pointer to the line containing the buffer's name you are wanting to act upon. Once you have selected the buffer you would like, you can then either open it by pressing &lt;CR&gt; or &lt;Left Mouse Click&gt; or close it.
<br>
<br>If you would like more detailed information, please take a look at the supplied documentation.
<br>
<br>NOTE: Version 7.0.12 and above will ONLY work with 7.0 and above of Vim.</td></tr>
+<tr><td>With bufexplorer, you can quickly and easily switch between buffers by using the one of the default public interfaces:
<br>
<br>&nbsp;&nbsp;'\be' (normal open)&nbsp;&nbsp;or
<br>&nbsp;&nbsp;'\bs' (force horizontal split open)&nbsp;&nbsp;or
<br>&nbsp;&nbsp;'\bv' (force vertical split open)
<br>
<br>Once the bufexplorer window is open you can use the normal movement keys (hjkl) to move around and then use &lt;Enter&gt; or &lt;Left-Mouse-Click&gt; to select the buffer you would like to open. If you would like to have the selected buffer opened in a new tab, simply press either &lt;Shift-Enter&gt; or 't'. Please note that when opening a buffer in a tab, that if the buffer is already in another tab, bufexplorer can switch to that tab automatically for you if you would like. More about that in the supplied VIM help.
<br>
<br>Bufexplorer also offers various options including:
<br>- Display the list of buffers in various sort orders including:
<br>&nbsp;&nbsp;&nbsp;&nbsp;- Most Recently Used (MRU) which is the default
<br>&nbsp;&nbsp;&nbsp;&nbsp;- Buffer number
<br>&nbsp;&nbsp;&nbsp;&nbsp;- File name
<br>&nbsp;&nbsp;&nbsp;&nbsp;- File extension
<br>&nbsp;&nbsp;&nbsp;&nbsp;- Full file path name
<br>- Delete buffer from list 
<br>
<br>For more about options, sort orders, configuration options, etc. please see the supplied VIM help.</td></tr>
 <tr><td>&nbsp;</td></tr>
 <tr><td class="prompt">install details</td></tr>
 <tr><td>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.&nbsp;&nbsp;See ':help add-local-help' on how to add bufexplorer.txt to vim's help system.
<br>
<br>NOTE: Version 7.0.12 and above will ONLY work with 7.0 and above of Vim.
<br>NOTE NOTE NOTE: If you have a version prior to 7.1.2 that contains an autoload\bufexplorer.vim file, please REMOVE the autoload\bufexlorer.vim AND the plugin\bufexplorer.vim files before installing a new version.</td></tr>
@@ -204,396 +204,420 @@
     <th valign="top">release notes</th>
 </tr>
 <tr>
-        <td class="rowodd" valign="top" nowrap><a href="download_script.php?src_id=8079">bufexplorer.zip</a></td>
-    <td class="rowodd" valign="top" nowrap><b>7.1.7</b></td>
-    <td class="rowodd" valign="top" nowrap><i>2007-12-21</i></td>
-    <td class="rowodd" valign="top" nowrap>6.0</td>
-    <td class="rowodd" valign="top"><i><a href="/account/profile.php?user_id=97">jeff lanzarotta</a></i></td>
-    <td class="rowodd" valign="top" width="2000">TaCahiroy fixed several issues related to opening a buffer in a tab.
<br></td>
-</tr>
-<tr>
-        <td class="roweven" valign="top" nowrap><a href="download_script.php?src_id=8015">bufexplorer.zip</a></td>
-    <td class="roweven" valign="top" nowrap><b>7.1.6</b></td>
-    <td class="roweven" valign="top" nowrap><i>2007-12-01</i></td>
-    <td class="roweven" valign="top" nowrap>6.0</td>
-    <td class="roweven" valign="top"><i><a href="/account/profile.php?user_id=97">jeff lanzarotta</a></i></td>
-    <td class="roweven" valign="top" width="2000">Fixes:
<br>&nbsp;&nbsp;* Removed ff=unix from modeline in bufexplorer.txt. Found by Bill McCarthy.</td>
-</tr>
-<tr>
-        <td class="rowodd" valign="top" nowrap><a href="download_script.php?src_id=8008">bufexplorer.zip</a></td>
-    <td class="rowodd" valign="top" nowrap><b>7.1.5</b></td>
-    <td class="rowodd" valign="top" nowrap><i>2007-11-30</i></td>
-    <td class="rowodd" valign="top" nowrap>6.0</td>
-    <td class="rowodd" valign="top"><i><a href="/account/profile.php?user_id=97">jeff lanzarotta</a></i></td>
-    <td class="rowodd" valign="top" width="2000">Fixed: Could not open unnamed buffers. Fixed by TaCahiroy.</td>
-</tr>
-<tr>
-        <td class="roweven" valign="top" nowrap><a href="download_script.php?src_id=7953">bufexplorer.zip</a></td>
-    <td class="roweven" valign="top" nowrap><b>7.1.4</b></td>
-    <td class="roweven" valign="top" nowrap><i>2007-11-16</i></td>
-    <td class="roweven" valign="top" nowrap>6.0</td>
-    <td class="roweven" valign="top"><i><a href="/account/profile.php?user_id=97">jeff lanzarotta</a></i></td>
-    <td class="roweven" valign="top" width="2000">Fixes:
<br>&nbsp;&nbsp;* 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 &quot;and&quot; and a buffer named &quot;Documents&quot;. This was reported and fixed by TaCa Yoss. </td>
-</tr>
-<tr>
-        <td class="rowodd" valign="top" nowrap><a href="download_script.php?src_id=7946">bufexplorer.zip</a></td>
-    <td class="rowodd" valign="top" nowrap><b>7.1.3</b></td>
-    <td class="rowodd" valign="top" nowrap><i>2007-11-15</i></td>
-    <td class="rowodd" valign="top" nowrap>6.0</td>
-    <td class="rowodd" valign="top"><i><a href="/account/profile.php?user_id=97">jeff lanzarotta</a></i></td>
-    <td class="rowodd" valign="top" width="2000">Added code to allow only one instance of the plugin to run at a time. Thanks Dennis Hostetler.</td>
-</tr>
-<tr>
-        <td class="roweven" valign="top" nowrap><a href="download_script.php?src_id=7893">bufexplorer.zip</a></td>
-    <td class="roweven" valign="top" nowrap><b>7.1.2</b></td>
-    <td class="roweven" valign="top" nowrap><i>2007-11-07</i></td>
-    <td class="roweven" valign="top" nowrap>6.0</td>
-    <td class="roweven" valign="top"><i><a href="/account/profile.php?user_id=97">jeff lanzarotta</a></i></td>
-    <td class="roweven" valign="top" width="2000">This is a MAJOR update.
<br>* Added handling of tabs. (Dave Larson)
<br>* Removed \bs and \bv commands because these are easier for the user to create horizontal and vertical windows. (Dave Larson)
<br>* Fixed jumplist issue spotted by JiangJun.
<br>* 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.
<br>* Fixed E493 error spotted by Thomas Arendsen Hein.
<br>* Minor cosmetic changes.
<br>* Minor help file changes.</td>
-</tr>
-<tr>
-        <td class="rowodd" valign="top" nowrap><a href="download_script.php?src_id=7406">bufexplorer.zip</a></td>
-    <td class="rowodd" valign="top" nowrap><b>7.0.17</b></td>
-    <td class="rowodd" valign="top" nowrap><i>2007-07-24</i></td>
+        <td class="rowodd" valign="top" nowrap><a href="download_script.php?src_id=9524">bufexplorer.zip</a></td>
+    <td class="rowodd" valign="top" nowrap><b>7.2.2</b></td>
+    <td class="rowodd" valign="top" nowrap><i>2008-11-19</i></td>
     <td class="rowodd" valign="top" nowrap>7.0</td>
     <td class="rowodd" valign="top"><i><a href="/account/profile.php?user_id=97">jeff lanzarotta</a></i></td>
-    <td class="rowodd" valign="top" width="2000">Fixed issue with 'drop' command. Various enhancements and improvements. </td>
-</tr>
-<tr>
-        <td class="roweven" valign="top" nowrap><a href="download_script.php?src_id=7032">bufexplorer.zip</a></td>
-    <td class="roweven" valign="top" nowrap><b>7.0.15</b></td>
-    <td class="roweven" valign="top" nowrap><i>2007-04-27</i></td>
+    <td class="rowodd" valign="top" width="2000">Thanks to David L. Dight for spotting and fixing an issue when using ctrl^. bufexplorer would incorrectly handle the previous buffer so that when ctrl^ was pressed the incorrect file was opened.
<br></td>
+</tr>
+<tr>
+        <td class="roweven" valign="top" nowrap><a href="download_script.php?src_id=9220">bufexplorer.zip</a></td>
+    <td class="roweven" valign="top" nowrap><b>7.2.1</b></td>
+    <td class="roweven" valign="top" nowrap><i>2008-09-03</i></td>
     <td class="roweven" valign="top" nowrap>7.0</td>
     <td class="roweven" valign="top"><i><a href="/account/profile.php?user_id=97">jeff lanzarotta</a></i></td>
-    <td class="roweven" valign="top" width="2000">Thanks to Mark Smithfield for suggesting bufexplorer needed to handle the ':args' command.
<br>Fixed issue reported by Liu Jiaping on non Windows systems, which was
<br>&nbsp;&nbsp;...
<br>Open file1, open file2, modify file1, open bufexplorer, you get the following error:
<br>--------8&lt;--------
<br>Error detected while processing function
<br>&lt;SNR&gt;14_StartBufExplorer..&lt;SNR&gt;14_SplitOpen:
<br>line&nbsp;&nbsp;&nbsp;&nbsp;4:
<br>E37: No write since last change (add ! to override)
<br>--------8&lt;--------
<br>
<br>But the worse thing is, when I want to save the current buffer and type ':w', I get another error message:
<br>
<br>--------8&lt;--------
<br>E382: Cannot write, 'buftype' option is set 
<br>--------8&lt;--------</td>
-</tr>
-<tr>
-        <td class="rowodd" valign="top" nowrap><a href="download_script.php?src_id=6897">bufexplorer.zip</a></td>
-    <td class="rowodd" valign="top" nowrap><b>7.0.14</b></td>
-    <td class="rowodd" valign="top" nowrap><i>2007-03-23</i></td>
+    <td class="roweven" valign="top" width="2000">7.2.1&nbsp;&nbsp;- 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.</td>
+</tr>
+<tr>
+        <td class="rowodd" valign="top" nowrap><a href="download_script.php?src_id=9128">bufexplorer.zip</a></td>
+    <td class="rowodd" valign="top" nowrap><b>7.2.0</b></td>
+    <td class="rowodd" valign="top" nowrap><i>2008-08-15</i></td>
+    <td class="rowodd" valign="top" nowrap>6.0</td>
+    <td class="rowodd" valign="top"><i><a href="/account/profile.php?user_id=97">jeff lanzarotta</a></i></td>
+    <td class="rowodd" valign="top" width="2000">- Enhancements:
<br>&nbsp;&nbsp;* 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.
<br>- Fixes:
<br>&nbsp;&nbsp;* Fixed problem with the bufExplorerFindActive code not working correctly.
<br>&nbsp;&nbsp;* Fixed an incompatibility between bufexplorer and netrw that caused buffers to be incorrectly removed from the MRU list.</td>
+</tr>
+<tr>
+        <td class="roweven" valign="top" nowrap><a href="download_script.php?src_id=8079">bufexplorer.zip</a></td>
+    <td class="roweven" valign="top" nowrap><b>7.1.7</b></td>
+    <td class="roweven" valign="top" nowrap><i>2007-12-21</i></td>
+    <td class="roweven" valign="top" nowrap>6.0</td>
+    <td class="roweven" valign="top"><i><a href="/account/profile.php?user_id=97">jeff lanzarotta</a></i></td>
+    <td class="roweven" valign="top" width="2000">TaCahiroy fixed several issues related to opening a buffer in a tab.
<br></td>
+</tr>
+<tr>
+        <td class="rowodd" valign="top" nowrap><a href="download_script.php?src_id=8015">bufexplorer.zip</a></td>
+    <td class="rowodd" valign="top" nowrap><b>7.1.6</b></td>
+    <td class="rowodd" valign="top" nowrap><i>2007-12-01</i></td>
+    <td class="rowodd" valign="top" nowrap>6.0</td>
+    <td class="rowodd" valign="top"><i><a href="/account/profile.php?user_id=97">jeff lanzarotta</a></i></td>
+    <td class="rowodd" valign="top" width="2000">Fixes:
<br>&nbsp;&nbsp;* Removed ff=unix from modeline in bufexplorer.txt. Found by Bill McCarthy.</td>
+</tr>
+<tr>
+        <td class="roweven" valign="top" nowrap><a href="download_script.php?src_id=8008">bufexplorer.zip</a></td>
+    <td class="roweven" valign="top" nowrap><b>7.1.5</b></td>
+    <td class="roweven" valign="top" nowrap><i>2007-11-30</i></td>
+    <td class="roweven" valign="top" nowrap>6.0</td>
+    <td class="roweven" valign="top"><i><a href="/account/profile.php?user_id=97">jeff lanzarotta</a></i></td>
+    <td class="roweven" valign="top" width="2000">Fixed: Could not open unnamed buffers. Fixed by TaCahiroy.</td>
+</tr>
+<tr>
+        <td class="rowodd" valign="top" nowrap><a href="download_script.php?src_id=7953">bufexplorer.zip</a></td>
+    <td class="rowodd" valign="top" nowrap><b>7.1.4</b></td>
+    <td class="rowodd" valign="top" nowrap><i>2007-11-16</i></td>
+    <td class="rowodd" valign="top" nowrap>6.0</td>
+    <td class="rowodd" valign="top"><i><a href="/account/profile.php?user_id=97">jeff lanzarotta</a></i></td>
+    <td class="rowodd" valign="top" width="2000">Fixes:
<br>&nbsp;&nbsp;* 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 &quot;and&quot; and a buffer named &quot;Documents&quot;. This was reported and fixed by TaCa Yoss. </td>
+</tr>
+<tr>
+        <td class="roweven" valign="top" nowrap><a href="download_script.php?src_id=7946">bufexplorer.zip</a></td>
+    <td class="roweven" valign="top" nowrap><b>7.1.3</b></td>
+    <td class="roweven" valign="top" nowrap><i>2007-11-15</i></td>
+    <td class="roweven" valign="top" nowrap>6.0</td>
+    <td class="roweven" valign="top"><i><a href="/account/profile.php?user_id=97">jeff lanzarotta</a></i></td>
+    <td class="roweven" valign="top" width="2000">Added code to allow only one instance of the plugin to run at a time. Thanks Dennis Hostetler.</td>
+</tr>
+<tr>
+        <td class="rowodd" valign="top" nowrap><a href="download_script.php?src_id=7893">bufexplorer.zip</a></td>
+    <td class="rowodd" valign="top" nowrap><b>7.1.2</b></td>
+    <td class="rowodd" valign="top" nowrap><i>2007-11-07</i></td>
+    <td class="rowodd" valign="top" nowrap>6.0</td>
+    <td class="rowodd" valign="top"><i><a href="/account/profile.php?user_id=97">jeff lanzarotta</a></i></td>
+    <td class="rowodd" valign="top" width="2000">This is a MAJOR update.
<br>* Added handling of tabs. (Dave Larson)
<br>* Removed \bs and \bv commands because these are easier for the user to create horizontal and vertical windows. (Dave Larson)
<br>* Fixed jumplist issue spotted by JiangJun.
<br>* 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.
<br>* Fixed E493 error spotted by Thomas Arendsen Hein.
<br>* Minor cosmetic changes.
<br>* Minor help file changes.</td>
+</tr>
+<tr>
+        <td class="roweven" valign="top" nowrap><a href="download_script.php?src_id=7406">bufexplorer.zip</a></td>
+    <td class="roweven" valign="top" nowrap><b>7.0.17</b></td>
+    <td class="roweven" valign="top" nowrap><i>2007-07-24</i></td>
+    <td class="roweven" valign="top" nowrap>7.0</td>
+    <td class="roweven" valign="top"><i><a href="/account/profile.php?user_id=97">jeff lanzarotta</a></i></td>
+    <td class="roweven" valign="top" width="2000">Fixed issue with 'drop' command. Various enhancements and improvements. </td>
+</tr>
+<tr>
+        <td class="rowodd" valign="top" nowrap><a href="download_script.php?src_id=7032">bufexplorer.zip</a></td>
+    <td class="rowodd" valign="top" nowrap><b>7.0.15</b></td>
+    <td class="rowodd" valign="top" nowrap><i>2007-04-27</i></td>
     <td class="rowodd" valign="top" nowrap>7.0</td>
     <td class="rowodd" valign="top"><i><a href="/account/profile.php?user_id=97">jeff lanzarotta</a></i></td>
-    <td class="rowodd" valign="top" width="2000">Thanks to Randall Hansen for removing the requirement of terminal versions to be recompiled with 'gui' support so the 'drop' command would work. The 'drop' command is really not needed in terminal versions.</td>
-</tr>
-<tr>
-        <td class="roweven" valign="top" nowrap><a href="download_script.php?src_id=6773">bufexplorer.zip</a></td>
-    <td class="roweven" valign="top" nowrap><b>7.0.13</b></td>
-    <td class="roweven" valign="top" nowrap><i>2007-02-23</i></td>
+    <td class="rowodd" valign="top" width="2000">Thanks to Mark Smithfield for suggesting bufexplorer needed to handle the ':args' command.
<br>Fixed issue reported by Liu Jiaping on non Windows systems, which was
<br>&nbsp;&nbsp;...
<br>Open file1, open file2, modify file1, open bufexplorer, you get the following error:
<br>--------8&lt;--------
<br>Error detected while processing function
<br>&lt;SNR&gt;14_StartBufExplorer..&lt;SNR&gt;14_SplitOpen:
<br>line&nbsp;&nbsp;&nbsp;&nbsp;4:
<br>E37: No write since last change (add ! to override)
<br>--------8&lt;--------
<br>
<br>But the worse thing is, when I want to save the current buffer and type ':w', I get another error message:
<br>
<br>--------8&lt;--------
<br>E382: Cannot write, 'buftype' option is set 
<br>--------8&lt;--------</td>
+</tr>
+<tr>
+        <td class="roweven" valign="top" nowrap><a href="download_script.php?src_id=6897">bufexplorer.zip</a></td>
+    <td class="roweven" valign="top" nowrap><b>7.0.14</b></td>
+    <td class="roweven" valign="top" nowrap><i>2007-03-23</i></td>
     <td class="roweven" valign="top" nowrap>7.0</td>
     <td class="roweven" valign="top"><i><a href="/account/profile.php?user_id=97">jeff lanzarotta</a></i></td>
-    <td class="roweven" valign="top" width="2000">Fixed Winmanager integration. Thanks to Dave Eggum for another major update. Most notable changes are, improved speed and code clean up. Please see the bufexplorer help for a full list of changes and updates.</td>
-</tr>
-<tr>
-        <td class="rowodd" valign="top" nowrap><a href="download_script.php?src_id=6484">bufexplorer.zip</a></td>
-    <td class="rowodd" valign="top" nowrap><b>7.0.12</b></td>
-    <td class="rowodd" valign="top" nowrap><i>2006-11-30</i></td>
+    <td class="roweven" valign="top" width="2000">Thanks to Randall Hansen for removing the requirement of terminal versions to be recompiled with 'gui' support so the 'drop' command would work. The 'drop' command is really not needed in terminal versions.</td>
+</tr>
+<tr>
+        <td class="rowodd" valign="top" nowrap><a href="download_script.php?src_id=6773">bufexplorer.zip</a></td>
+    <td class="rowodd" valign="top" nowrap><b>7.0.13</b></td>
+    <td class="rowodd" valign="top" nowrap><i>2007-02-23</i></td>
     <td class="rowodd" valign="top" nowrap>7.0</td>
     <td class="rowodd" valign="top"><i><a href="/account/profile.php?user_id=97">jeff lanzarotta</a></i></td>
-    <td class="rowodd" valign="top" width="2000">MAJOR Update. Please Note that this version will ONLY run with Vim version 7.0 or greater.
<br>
<br>Dave Eggum has made some 'significant' updates to this latest version:
<br>&nbsp;&nbsp;- Added BufExplorerGetAltBuf() global function to be used in the user’s rulerformat.
<br>&nbsp;&nbsp;- Added g:bufExplorerSplitRight option.
<br>&nbsp;&nbsp;- Added g:bufExplorerShowRelativePath option with mapping.
<br>&nbsp;&nbsp;- Added current line highlighting.
<br>&nbsp;&nbsp;- The split type can now be changed whether bufexplorer is opened in split mode or not.
<br>&nbsp;&nbsp;- Various major and minor bug fixes and speed improvements.
<br>&nbsp;&nbsp;- Sort by extension.
<br>&nbsp;&nbsp;Other improvements/changes:
<br>&nbsp;&nbsp;- Changed the help key from '?' to &lt;F1&gt; to be more 'standard'.
<br>&nbsp;&nbsp;- Fixed splitting of vertical bufexplorer window.</td>
-</tr>
-<tr>
-        <td class="roweven" valign="top" nowrap><a href="download_script.php?src_id=5409">bufexplorer.zip</a></td>
-    <td class="roweven" valign="top" nowrap><b>7.0.11</b></td>
-    <td class="roweven" valign="top" nowrap><i>2006-03-10</i></td>
-    <td class="roweven" valign="top" nowrap>6.0</td>
-    <td class="roweven" valign="top"><i><a href="/account/profile.php?user_id=97">jeff lanzarotta</a></i></td>
-    <td class="roweven" valign="top" width="2000">Fixed a couple of highlighting bugs, reported by David Eggum. He also changed passive voice to active on a couple of warning messages.</td>
-</tr>
-<tr>
-        <td class="rowodd" valign="top" nowrap><a href="download_script.php?src_id=5353">bufexplorer.zip</a></td>
-    <td class="rowodd" valign="top" nowrap><b>7.0.10</b></td>
-    <td class="rowodd" valign="top" nowrap><i>2006-03-02</i></td>
-    <td class="rowodd" valign="top" nowrap>6.0</td>
-    <td class="rowodd" valign="top"><i><a href="/account/profile.php?user_id=97">jeff lanzarotta</a></i></td>
-    <td class="rowodd" valign="top" width="2000">Fixed bug report by Xiangjiang Ma. If the 'ssl' option is set, the slash character used when displaying the path was incorrect. Thanks Xiangjiang!
<br></td>
-</tr>
-<tr>
-        <td class="roweven" valign="top" nowrap><a href="download_script.php?src_id=5337">bufexplorer.zip</a></td>
-    <td class="roweven" valign="top" nowrap><b>7.0.9</b></td>
-    <td class="roweven" valign="top" nowrap><i>2006-02-28</i></td>
-    <td class="roweven" valign="top" nowrap>6.0</td>
-    <td class="roweven" valign="top"><i><a href="/account/profile.php?user_id=97">jeff lanzarotta</a></i></td>
-    <td class="roweven" valign="top" width="2000">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!</td>
-</tr>
-<tr>
-        <td class="rowodd" valign="top" nowrap><a href="download_script.php?src_id=4993">bufexplorer.zip</a></td>
-    <td class="rowodd" valign="top" nowrap><b>7.0.8</b></td>
-    <td class="rowodd" valign="top" nowrap><i>2006-01-18</i></td>
-    <td class="rowodd" valign="top" nowrap>6.0</td>
-    <td class="rowodd" valign="top"><i><a href="/account/profile.php?user_id=97">jeff lanzarotta</a></i></td>
-    <td class="rowodd" valign="top" width="2000">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.</td>
-</tr>
-<tr>
-        <td class="roweven" valign="top" nowrap><a href="download_script.php?src_id=4904">bufexplorer.zip</a></td>
-    <td class="roweven" valign="top" nowrap><b>7.0.7</b></td>
-    <td class="roweven" valign="top" nowrap><i>2005-12-19</i></td>
-    <td class="roweven" valign="top" nowrap>6.0</td>
-    <td class="roweven" valign="top"><i><a href="/account/profile.php?user_id=97">jeff lanzarotta</a></i></td>
-    <td class="roweven" valign="top" width="2000">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.</td>
-</tr>
-<tr>
-        <td class="rowodd" valign="top" nowrap><a href="download_script.php?src_id=4775">bufexplorer.zip</a></td>
-    <td class="rowodd" valign="top" nowrap><b>7.0.6</b></td>
-    <td class="rowodd" valign="top" nowrap><i>2005-11-18</i></td>
-    <td class="rowodd" valign="top" nowrap>6.0</td>
-    <td class="rowodd" valign="top"><i><a href="/account/profile.php?user_id=97">jeff lanzarotta</a></i></td>
-    <td class="rowodd" valign="top" width="2000">Thanks to Larry Zhang for finding a bug in the &quot;split&quot; 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.</td>
-</tr>
-<tr>
-        <td class="roweven" valign="top" nowrap><a href="download_script.php?src_id=4680">bufexplorer.zip</a></td>
-    <td class="roweven" valign="top" nowrap><b>7.0.5</b></td>
-    <td class="roweven" valign="top" nowrap><i>2005-10-18</i></td>
-    <td class="roweven" valign="top" nowrap>6.0</td>
-    <td class="roweven" valign="top"><i><a href="/account/profile.php?user_id=97">jeff lanzarotta</a></i></td>
-    <td class="roweven" valign="top" width="2000">Thanks to Mun Johl for pointing out a bug that if a buffer was modified, the '+' was not showing up correctly.</td>
-</tr>
-<tr>
-        <td class="rowodd" valign="top" nowrap><a href="download_script.php?src_id=4645">bufexplorer.zip</a></td>
-    <td class="rowodd" valign="top" nowrap><b>7.0.4</b></td>
-    <td class="rowodd" valign="top" nowrap><i>2005-10-03</i></td>
-    <td class="rowodd" valign="top" nowrap>6.0</td>
-    <td class="rowodd" valign="top"><i><a href="/account/profile.php?user_id=97">jeff lanzarotta</a></i></td>
-    <td class="rowodd" valign="top" width="2000">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.&nbsp;&nbsp;Thus, the g:bufExplorerShowDirectories feature is only available when using vim 7.0 and above.</td>
-</tr>
-<tr>
-        <td class="roweven" valign="top" nowrap><a href="download_script.php?src_id=4636">bufexplorer.zip</a></td>
-    <td class="roweven" valign="top" nowrap><b>7.0.3</b></td>
-    <td class="roweven" valign="top" nowrap><i>2005-09-30</i></td>
-    <td class="roweven" valign="top" nowrap>6.0</td>
-    <td class="roweven" valign="top"><i><a href="/account/profile.php?user_id=97">jeff lanzarotta</a></i></td>
-    <td class="roweven" valign="top" width="2000">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).
<br>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 &quot;:e .&quot;, this controls how those are displayed.</td>
-</tr>
-<tr>
-        <td class="rowodd" valign="top" nowrap><a href="download_script.php?src_id=4072">bufexplorer.zip</a></td>
-    <td class="rowodd" valign="top" nowrap><b>7.0.2</b></td>
-    <td class="rowodd" valign="top" nowrap><i>2005-03-25</i></td>
-    <td class="rowodd" valign="top" nowrap>6.0</td>
-    <td class="rowodd" valign="top"><i><a href="/account/profile.php?user_id=97">jeff lanzarotta</a></i></td>
-    <td class="rowodd" valign="top" width="2000">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.
<br></td>
-</tr>
-<tr>
-        <td class="roweven" valign="top" nowrap><a href="download_script.php?src_id=3994">bufexplorer.zip</a></td>
-    <td class="roweven" valign="top" nowrap><b>7.0.1</b></td>
-    <td class="roweven" valign="top" nowrap><i>2005-03-10</i></td>
-    <td class="roweven" valign="top" nowrap>6.0</td>
-    <td class="roweven" valign="top"><i><a href="/account/profile.php?user_id=97">jeff lanzarotta</a></i></td>
-    <td class="roweven" valign="top" width="2000">Thanks to Erwin Waterlander for finding a couple problems. The first problem allowed a modified buffer to be deleted.&nbsp;&nbsp;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!</td>
-</tr>
-<tr>
-        <td class="rowodd" valign="top" nowrap><a href="download_script.php?src_id=3932">bufexplorer.zip</a></td>
-    <td class="rowodd" valign="top" nowrap><b>7.0.0</b></td>
-    <td class="rowodd" valign="top" nowrap><i>2005-02-28</i></td>
-    <td class="rowodd" valign="top" nowrap>6.0</td>
-    <td class="rowodd" valign="top"><i><a href="/account/profile.php?user_id=97">jeff lanzarotta</a></i></td>
-    <td class="rowodd" valign="top" width="2000">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.</td>
-</tr>
-<tr>
-        <td class="roweven" valign="top" nowrap><a href="download_script.php?src_id=3262">bufexplorer.zip</a></td>
-    <td class="roweven" valign="top" nowrap><b>6.3.0</b></td>
-    <td class="roweven" valign="top" nowrap><i>2004-07-23</i></td>
-    <td class="roweven" valign="top" nowrap>6.0</td>
-    <td class="roweven" valign="top"><i><a href="/account/profile.php?user_id=97">jeff lanzarotta</a></i></td>
-    <td class="roweven" valign="top" width="2000">Added keepjumps so that the jumps list would not get clutered with bufexplorer related stuff.</td>
-</tr>
-<tr>
-        <td class="rowodd" valign="top" nowrap><a href="download_script.php?src_id=2937">bufexplorer.zip</a></td>
-    <td class="rowodd" valign="top" nowrap><b>6.2.3</b></td>
-    <td class="rowodd" valign="top" nowrap><i>2004-04-15</i></td>
-    <td class="rowodd" valign="top" nowrap>6.0</td>
-    <td class="rowodd" valign="top"><i><a href="/account/profile.php?user_id=97">jeff lanzarotta</a></i></td>
-    <td class="rowodd" valign="top" width="2000">Thanks to Jay Logan for finding&nbsp;&nbsp;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'.</td>
-</tr>
-<tr>
-        <td class="roweven" valign="top" nowrap><a href="download_script.php?src_id=2652">bufexplorer.zip</a></td>
-    <td class="roweven" valign="top" nowrap><b>6.2.2</b></td>
-    <td class="roweven" valign="top" nowrap><i>2004-01-09</i></td>
-    <td class="roweven" valign="top" nowrap>6.0</td>
-    <td class="roweven" valign="top"><i><a href="/account/profile.php?user_id=97">jeff lanzarotta</a></i></td>
-    <td class="roweven" valign="top" width="2000">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...
<br></td>
-</tr>
-<tr>
-        <td class="rowodd" valign="top" nowrap><a href="download_script.php?src_id=2383">bufexplorer.zip</a></td>
-    <td class="rowodd" valign="top" nowrap><b>6.2.1</b></td>
-    <td class="rowodd" valign="top" nowrap><i>2003-10-09</i></td>
-    <td class="rowodd" valign="top" nowrap>6.0</td>
-    <td class="rowodd" valign="top"><i><a href="/account/profile.php?user_id=97">jeff lanzarotta</a></i></td>
-    <td class="rowodd" valign="top" width="2000">Thanks goes out to Takashi Matsuo for added the 'fullPath' sorting logic and option.</td>
-</tr>
-<tr>
-        <td class="roweven" valign="top" nowrap><a href="download_script.php?src_id=2075">bufexplorer.zip</a></td>
-    <td class="roweven" valign="top" nowrap><b>6.2.0</b></td>
-    <td class="roweven" valign="top" nowrap><i>2003-06-13</i></td>
-    <td class="roweven" valign="top" nowrap>6.0</td>
-    <td class="roweven" valign="top"><i><a href="/account/profile.php?user_id=97">jeff lanzarotta</a></i></td>
-    <td class="roweven" valign="top" width="2000">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.</td>
-</tr>
-<tr>
-        <td class="rowodd" valign="top" nowrap><a href="download_script.php?src_id=1968">bufexplorer.zip</a></td>
-    <td class="rowodd" valign="top" nowrap><b>6.1.6</b></td>
-    <td class="rowodd" valign="top" nowrap><i>2003-05-05</i></td>
-    <td class="rowodd" valign="top" nowrap>6.0</td>
-    <td class="rowodd" valign="top"><i><a href="/account/profile.php?user_id=97">jeff lanzarotta</a></i></td>
-    <td class="rowodd" valign="top" width="2000">Thanks to Artem Chuprina for finding a pesky bug that has been around for sometime now. The &lt;esc&gt; key mapping was causing the buffer explored to close prematurely when vim was run in an xterm. The &lt;esc&gt; key mapping is now removed.</td>
-</tr>
-<tr>
-        <td class="roweven" valign="top" nowrap><a href="download_script.php?src_id=1948">bufexplorer.zip</a></td>
-    <td class="roweven" valign="top" nowrap><b>6.1.5</b></td>
-    <td class="roweven" valign="top" nowrap><i>2003-04-28</i></td>
-    <td class="roweven" valign="top" nowrap>6.0</td>
-    <td class="roweven" valign="top"><i><a href="/account/profile.php?user_id=97">jeff lanzarotta</a></i></td>
-    <td class="roweven" valign="top" width="2000">Thanks to Khorev Sergey. Added option to show default help or not.</td>
-</tr>
-<tr>
-        <td class="rowodd" valign="top" nowrap><a href="download_script.php?src_id=1822">bufexplorer.zip</a></td>
-    <td class="rowodd" valign="top" nowrap><b>6.1.4</b></td>
-    <td class="rowodd" valign="top" nowrap><i>2003-03-18</i></td>
-    <td class="rowodd" valign="top" nowrap>6.0</td>
-    <td class="rowodd" valign="top"><i><a href="/account/profile.php?user_id=97">jeff lanzarotta</a></i></td>
-    <td class="rowodd" valign="top" width="2000">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.</td>
-</tr>
-<tr>
-        <td class="roweven" valign="top" nowrap><a href="download_script.php?src_id=1799">bufexplorer.zip</a></td>
-    <td class="roweven" valign="top" nowrap><b>6.1.3</b></td>
-    <td class="roweven" valign="top" nowrap><i>2003-03-11</i></td>
-    <td class="roweven" valign="top" nowrap>6.0</td>
-    <td class="roweven" valign="top"><i><a href="/account/profile.php?user_id=97">jeff lanzarotta</a></i></td>
-    <td class="roweven" valign="top" width="2000">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.</td>
-</tr>
-<tr>
-        <td class="rowodd" valign="top" nowrap><a href="download_script.php?src_id=1376">bufexplorer.zip</a></td>
-    <td class="rowodd" valign="top" nowrap><b>6.1.2</b></td>
-    <td class="rowodd" valign="top" nowrap><i>2002-11-05</i></td>
-    <td class="rowodd" valign="top" nowrap>6.0</td>
-    <td class="rowodd" valign="top"><i><a href="/account/profile.php?user_id=97">jeff lanzarotta</a></i></td>
-    <td class="rowodd" valign="top" width="2000">Now pressing the &lt;esc&gt; 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.</td>
-</tr>
-<tr>
-        <td class="roweven" valign="top" nowrap><a href="download_script.php?src_id=724">bufexplorer.zip</a></td>
-    <td class="roweven" valign="top" nowrap><b>6.1.1</b></td>
-    <td class="roweven" valign="top" nowrap><i>2002-03-28</i></td>
-    <td class="roweven" valign="top" nowrap>6.0</td>
-    <td class="roweven" valign="top"><i><a href="/account/profile.php?user_id=97">jeff lanzarotta</a></i></td>
-    <td class="roweven" valign="top" width="2000">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.
<br></td>
-</tr>
-<tr>
-        <td class="rowodd" valign="top" nowrap><a href="download_script.php?src_id=684">bufexplorer.zip</a></td>
-    <td class="rowodd" valign="top" nowrap><b>6.0.16</b></td>
-    <td class="rowodd" valign="top" nowrap><i>2002-03-14</i></td>
-    <td class="rowodd" valign="top" nowrap>6.0</td>
-    <td class="rowodd" valign="top"><i><a href="/account/profile.php?user_id=97">jeff lanzarotta</a></i></td>
-    <td class="rowodd" valign="top" width="2000">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.
<br></td>
-</tr>
-<tr>
-        <td class="roweven" valign="top" nowrap><a href="download_script.php?src_id=617">bufexplorer.zip</a></td>
-    <td class="roweven" valign="top" nowrap><b>6.0.15</b></td>
-    <td class="roweven" valign="top" nowrap><i>2002-02-20</i></td>
-    <td class="roweven" valign="top" nowrap>6.0</td>
-    <td class="roweven" valign="top"><i><a href="/account/profile.php?user_id=97">jeff lanzarotta</a></i></td>
-    <td class="roweven" valign="top" width="2000">Srinath Avadhanulax added a patch for winmanager.vim.</td>
-</tr>
-<tr>
-        <td class="rowodd" valign="top" nowrap><a href="download_script.php?src_id=614">bufexplorer.zip</a></td>
-    <td class="rowodd" valign="top" nowrap><b>6.0.14</b></td>
-    <td class="rowodd" valign="top" nowrap><i>2002-02-19</i></td>
-    <td class="rowodd" valign="top" nowrap>6.0</td>
-    <td class="rowodd" valign="top"><i><a href="/account/profile.php?user_id=97">jeff lanzarotta</a></i></td>
-    <td class="rowodd" valign="top" width="2000">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.</td>
-</tr>
-<tr>
-        <td class="roweven" valign="top" nowrap><a href="download_script.php?src_id=553">bufexplorer.zip</a></td>
-    <td class="roweven" valign="top" nowrap><b>6.0.13</b></td>
-    <td class="roweven" valign="top" nowrap><i>2002-02-05</i></td>
-    <td class="roweven" valign="top" nowrap>6.0</td>
-    <td class="roweven" valign="top"><i><a href="/account/profile.php?user_id=97">jeff lanzarotta</a></i></td>
-    <td class="roweven" valign="top" width="2000">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)</td>
-</tr>
-<tr>
-        <td class="rowodd" valign="top" nowrap><a href="download_script.php?src_id=543">bufexplorer.zip</a></td>
-    <td class="rowodd" valign="top" nowrap><b>6.0.12</b></td>
-    <td class="rowodd" valign="top" nowrap><i>2002-02-04</i></td>
-    <td class="rowodd" valign="top" nowrap>6.0</td>
-    <td class="rowodd" valign="top"><i><a href="/account/profile.php?user_id=97">jeff lanzarotta</a></i></td>
-    <td class="rowodd" valign="top" width="2000">Thanks to Madoka Machitani, for the tip on adding the augroup command around the MRUList autocommands.</td>
-</tr>
-<tr>
-        <td class="roweven" valign="top" nowrap><a href="download_script.php?src_id=513">bufexplorer.zip</a></td>
-    <td class="roweven" valign="top" nowrap><b>6.0.11</b></td>
-    <td class="roweven" valign="top" nowrap><i>2002-01-26</i></td>
-    <td class="roweven" valign="top" nowrap>6.0</td>
-    <td class="roweven" valign="top"><i><a href="/account/profile.php?user_id=97">jeff lanzarotta</a></i></td>
-    <td class="roweven" valign="top" width="2000">Fixed bug report by Xiangjiang Ma. '&quot;=' was being added to the search history which messed up hlsearch.
<br></td>
-</tr>
-<tr>
-        <td class="rowodd" valign="top" nowrap><a href="download_script.php?src_id=472">bufexplorer.zip</a></td>
-    <td class="rowodd" valign="top" nowrap><b>6.0.10</b></td>
-    <td class="rowodd" valign="top" nowrap><i>2002-01-14</i></td>
-    <td class="rowodd" valign="top" nowrap>6.0</td>
-    <td class="rowodd" valign="top"><i><a href="/account/profile.php?user_id=97">jeff lanzarotta</a></i></td>
-    <td class="rowodd" valign="top" width="2000">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.
<br>Tried to improve performance.
<br>Remember to look at 'help: add-local-help' on how to add the help file into the vim help system.</td>
-</tr>
-<tr>
-        <td class="roweven" valign="top" nowrap><a href="download_script.php?src_id=427">bufexplorer.zip</a></td>
-    <td class="roweven" valign="top" nowrap><b>6.0.9</b></td>
-    <td class="roweven" valign="top" nowrap><i>2001-12-17</i></td>
-    <td class="roweven" valign="top" nowrap>6.0</td>
-    <td class="roweven" valign="top"><i><a href="/account/profile.php?user_id=97">jeff lanzarotta</a></i></td>
-    <td class="roweven" valign="top" width="2000">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.</td>
-</tr>
-<tr>
-        <td class="rowodd" valign="top" nowrap><a href="download_script.php?src_id=393">bufexplorer.zip</a></td>
-    <td class="rowodd" valign="top" nowrap><b>6.0.8</b></td>
-    <td class="rowodd" valign="top" nowrap><i>2001-12-03</i></td>
-    <td class="rowodd" valign="top" nowrap>6.0</td>
-    <td class="rowodd" valign="top"><i><a href="/account/profile.php?user_id=97">jeff lanzarotta</a></i></td>
-    <td class="rowodd" valign="top" width="2000">Was not resetting the showcmd command correctly.
<br>Added nifty help file.</td>
-</tr>
-<tr>
-        <td class="roweven" valign="top" nowrap><a href="download_script.php?src_id=360">bufexplorer.zip</a></td>
-    <td class="roweven" valign="top" nowrap><b>6.0.7</b></td>
-    <td class="roweven" valign="top" nowrap><i>2001-11-19</i></td>
-    <td class="roweven" valign="top" nowrap>6.0</td>
-    <td class="roweven" valign="top"><i><a href="/account/profile.php?user_id=97">jeff lanzarotta</a></i></td>
-    <td class="roweven" valign="top" width="2000">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.
<br></td>
-</tr>
-<tr>
-        <td class="rowodd" valign="top" nowrap><a href="download_script.php?src_id=154">bufexplorer.zip</a></td>
-    <td class="rowodd" valign="top" nowrap><b>6.0.6</b></td>
-    <td class="rowodd" valign="top" nowrap><i>2001-09-05</i></td>
-    <td class="rowodd" valign="top" nowrap>6.0</td>
-    <td class="rowodd" valign="top"><i><a href="/account/profile.php?user_id=97">jeff lanzarotta</a></i></td>
-    <td class="rowodd" valign="top" width="2000">Fixed problem with the SortListing() function failing when there was only one buffer to display.
<br></td>
-</tr>
-<tr>
-        <td class="roweven" valign="top" nowrap><a href="download_script.php?src_id=93">bufexplorer.zip</a></td>
-    <td class="roweven" valign="top" nowrap><b>6.0.5</b></td>
-    <td class="roweven" valign="top" nowrap><i>2001-08-10</i></td>
-    <td class="roweven" valign="top" nowrap>6.0</td>
-    <td class="roweven" valign="top"><i><a href="/account/profile.php?user_id=97">jeff lanzarotta</a></i></td>
-    <td class="roweven" valign="top" width="2000">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.</td>
-</tr>
-<tr>
-        <td class="rowodd" valign="top" nowrap><a href="download_script.php?src_id=77">bufexplorer.zip</a></td>
-    <td class="rowodd" valign="top" nowrap><b>6.0.4</b></td>
-    <td class="rowodd" valign="top" nowrap><i>2001-07-31</i></td>
-    <td class="rowodd" valign="top" nowrap>6.0</td>
-    <td class="rowodd" valign="top"><i><a href="/account/profile.php?user_id=97">jeff lanzarotta</a></i></td>
-    <td class="rowodd" valign="top" width="2000">Thanks to Charles Campbell for making this plugin more plugin *compliant*, adding default keymappings of &lt;Leader&gt;be and &lt;Leader&gt;bs as well as fixing the 'w:sortDirLabel not being defined' bug.
<br></td>
-</tr>
-<tr>
-        <td class="roweven" valign="top" nowrap><a href="download_script.php?src_id=72">bufexplorer.zip</a></td>
-    <td class="roweven" valign="top" nowrap><b>6.0.3</b></td>
-    <td class="roweven" valign="top" nowrap><i>2001-07-30</i></td>
-    <td class="roweven" valign="top" nowrap>6.0</td>
-    <td class="roweven" valign="top"><i><a href="/account/profile.php?user_id=97">jeff lanzarotta</a></i></td>
-    <td class="roweven" valign="top" width="2000">Added ability to sort buffers by 'buffer number' or 'name' in forward and reverse order.</td>
-</tr>
-<tr>
-        <td class="rowodd" valign="top" nowrap><a href="download_script.php?src_id=60">bufexplorer.zip</a></td>
-    <td class="rowodd" valign="top" nowrap><b>6.0.2</b></td>
-    <td class="rowodd" valign="top" nowrap><i>2001-07-25</i></td>
-    <td class="rowodd" valign="top" nowrap>6.0</td>
-    <td class="rowodd" valign="top"><i><a href="/account/profile.php?user_id=97">jeff lanzarotta</a></i></td>
-    <td class="rowodd" valign="top" width="2000">Initial upload</td>
+    <td class="rowodd" valign="top" width="2000">Fixed Winmanager integration. Thanks to Dave Eggum for another major update. Most notable changes are, improved speed and code clean up. Please see the bufexplorer help for a full list of changes and updates.</td>
+</tr>
+<tr>
+        <td class="roweven" valign="top" nowrap><a href="download_script.php?src_id=6484">bufexplorer.zip</a></td>
+    <td class="roweven" valign="top" nowrap><b>7.0.12</b></td>
+    <td class="roweven" valign="top" nowrap><i>2006-11-30</i></td>
+    <td class="roweven" valign="top" nowrap>7.0</td>
+    <td class="roweven" valign="top"><i><a href="/account/profile.php?user_id=97">jeff lanzarotta</a></i></td>
+    <td class="roweven" valign="top" width="2000">MAJOR Update. Please Note that this version will ONLY run with Vim version 7.0 or greater.
<br>
<br>Dave Eggum has made some 'significant' updates to this latest version:
<br>&nbsp;&nbsp;- Added BufExplorerGetAltBuf() global function to be used in the user’s rulerformat.
<br>&nbsp;&nbsp;- Added g:bufExplorerSplitRight option.
<br>&nbsp;&nbsp;- Added g:bufExplorerShowRelativePath option with mapping.
<br>&nbsp;&nbsp;- Added current line highlighting.
<br>&nbsp;&nbsp;- The split type can now be changed whether bufexplorer is opened in split mode or not.
<br>&nbsp;&nbsp;- Various major and minor bug fixes and speed improvements.
<br>&nbsp;&nbsp;- Sort by extension.
<br>&nbsp;&nbsp;Other improvements/changes:
<br>&nbsp;&nbsp;- Changed the help key from '?' to &lt;F1&gt; to be more 'standard'.
<br>&nbsp;&nbsp;- Fixed splitting of vertical bufexplorer window.</td>
+</tr>
+<tr>
+        <td class="rowodd" valign="top" nowrap><a href="download_script.php?src_id=5409">bufexplorer.zip</a></td>
+    <td class="rowodd" valign="top" nowrap><b>7.0.11</b></td>
+    <td class="rowodd" valign="top" nowrap><i>2006-03-10</i></td>
+    <td class="rowodd" valign="top" nowrap>6.0</td>
+    <td class="rowodd" valign="top"><i><a href="/account/profile.php?user_id=97">jeff lanzarotta</a></i></td>
+    <td class="rowodd" valign="top" width="2000">Fixed a couple of highlighting bugs, reported by David Eggum. He also changed passive voice to active on a couple of warning messages.</td>
+</tr>
+<tr>
+        <td class="roweven" valign="top" nowrap><a href="download_script.php?src_id=5353">bufexplorer.zip</a></td>
+    <td class="roweven" valign="top" nowrap><b>7.0.10</b></td>
+    <td class="roweven" valign="top" nowrap><i>2006-03-02</i></td>
+    <td class="roweven" valign="top" nowrap>6.0</td>
+    <td class="roweven" valign="top"><i><a href="/account/profile.php?user_id=97">jeff lanzarotta</a></i></td>
+    <td class="roweven" valign="top" width="2000">Fixed bug report by Xiangjiang Ma. If the 'ssl' option is set, the slash character used when displaying the path was incorrect. Thanks Xiangjiang!
<br></td>
+</tr>
+<tr>
+        <td class="rowodd" valign="top" nowrap><a href="download_script.php?src_id=5337">bufexplorer.zip</a></td>
+    <td class="rowodd" valign="top" nowrap><b>7.0.9</b></td>
+    <td class="rowodd" valign="top" nowrap><i>2006-02-28</i></td>
+    <td class="rowodd" valign="top" nowrap>6.0</td>
+    <td class="rowodd" valign="top"><i><a href="/account/profile.php?user_id=97">jeff lanzarotta</a></i></td>
+    <td class="rowodd" valign="top" width="2000">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!</td>
+</tr>
+<tr>
+        <td class="roweven" valign="top" nowrap><a href="download_script.php?src_id=4993">bufexplorer.zip</a></td>
+    <td class="roweven" valign="top" nowrap><b>7.0.8</b></td>
+    <td class="roweven" valign="top" nowrap><i>2006-01-18</i></td>
+    <td class="roweven" valign="top" nowrap>6.0</td>
+    <td class="roweven" valign="top"><i><a href="/account/profile.php?user_id=97">jeff lanzarotta</a></i></td>
+    <td class="roweven" valign="top" width="2000">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.</td>
+</tr>
+<tr>
+        <td class="rowodd" valign="top" nowrap><a href="download_script.php?src_id=4904">bufexplorer.zip</a></td>
+    <td class="rowodd" valign="top" nowrap><b>7.0.7</b></td>
+    <td class="rowodd" valign="top" nowrap><i>2005-12-19</i></td>
+    <td class="rowodd" valign="top" nowrap>6.0</td>
+    <td class="rowodd" valign="top"><i><a href="/account/profile.php?user_id=97">jeff lanzarotta</a></i></td>
+    <td class="rowodd" valign="top" width="2000">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.</td>
+</tr>
+<tr>
+        <td class="roweven" valign="top" nowrap><a href="download_script.php?src_id=4775">bufexplorer.zip</a></td>
+    <td class="roweven" valign="top" nowrap><b>7.0.6</b></td>
+    <td class="roweven" valign="top" nowrap><i>2005-11-18</i></td>
+    <td class="roweven" valign="top" nowrap>6.0</td>
+    <td class="roweven" valign="top"><i><a href="/account/profile.php?user_id=97">jeff lanzarotta</a></i></td>
+    <td class="roweven" valign="top" width="2000">Thanks to Larry Zhang for finding a bug in the &quot;split&quot; 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.</td>
+</tr>
+<tr>
+        <td class="rowodd" valign="top" nowrap><a href="download_script.php?src_id=4680">bufexplorer.zip</a></td>
+    <td class="rowodd" valign="top" nowrap><b>7.0.5</b></td>
+    <td class="rowodd" valign="top" nowrap><i>2005-10-18</i></td>
+    <td class="rowodd" valign="top" nowrap>6.0</td>
+    <td class="rowodd" valign="top"><i><a href="/account/profile.php?user_id=97">jeff lanzarotta</a></i></td>
+    <td class="rowodd" valign="top" width="2000">Thanks to Mun Johl for pointing out a bug that if a buffer was modified, the '+' was not showing up correctly.</td>
+</tr>
+<tr>
+        <td class="roweven" valign="top" nowrap><a href="download_script.php?src_id=4645">bufexplorer.zip</a></td>
+    <td class="roweven" valign="top" nowrap><b>7.0.4</b></td>
+    <td class="roweven" valign="top" nowrap><i>2005-10-03</i></td>
+    <td class="roweven" valign="top" nowrap>6.0</td>
+    <td class="roweven" valign="top"><i><a href="/account/profile.php?user_id=97">jeff lanzarotta</a></i></td>
+    <td class="roweven" valign="top" width="2000">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.&nbsp;&nbsp;Thus, the g:bufExplorerShowDirectories feature is only available when using vim 7.0 and above.</td>
+</tr>
+<tr>
+        <td class="rowodd" valign="top" nowrap><a href="download_script.php?src_id=4636">bufexplorer.zip</a></td>
+    <td class="rowodd" valign="top" nowrap><b>7.0.3</b></td>
+    <td class="rowodd" valign="top" nowrap><i>2005-09-30</i></td>
+    <td class="rowodd" valign="top" nowrap>6.0</td>
+    <td class="rowodd" valign="top"><i><a href="/account/profile.php?user_id=97">jeff lanzarotta</a></i></td>
+    <td class="rowodd" valign="top" width="2000">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).
<br>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 &quot;:e .&quot;, this controls how those are displayed.</td>
+</tr>
+<tr>
+        <td class="roweven" valign="top" nowrap><a href="download_script.php?src_id=4072">bufexplorer.zip</a></td>
+    <td class="roweven" valign="top" nowrap><b>7.0.2</b></td>
+    <td class="roweven" valign="top" nowrap><i>2005-03-25</i></td>
+    <td class="roweven" valign="top" nowrap>6.0</td>
+    <td class="roweven" valign="top"><i><a href="/account/profile.php?user_id=97">jeff lanzarotta</a></i></td>
+    <td class="roweven" valign="top" width="2000">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.
<br></td>
+</tr>
+<tr>
+        <td class="rowodd" valign="top" nowrap><a href="download_script.php?src_id=3994">bufexplorer.zip</a></td>
+    <td class="rowodd" valign="top" nowrap><b>7.0.1</b></td>
+    <td class="rowodd" valign="top" nowrap><i>2005-03-10</i></td>
+    <td class="rowodd" valign="top" nowrap>6.0</td>
+    <td class="rowodd" valign="top"><i><a href="/account/profile.php?user_id=97">jeff lanzarotta</a></i></td>
+    <td class="rowodd" valign="top" width="2000">Thanks to Erwin Waterlander for finding a couple problems. The first problem allowed a modified buffer to be deleted.&nbsp;&nbsp;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!</td>
+</tr>
+<tr>
+        <td class="roweven" valign="top" nowrap><a href="download_script.php?src_id=3932">bufexplorer.zip</a></td>
+    <td class="roweven" valign="top" nowrap><b>7.0.0</b></td>
+    <td class="roweven" valign="top" nowrap><i>2005-02-28</i></td>
+    <td class="roweven" valign="top" nowrap>6.0</td>
+    <td class="roweven" valign="top"><i><a href="/account/profile.php?user_id=97">jeff lanzarotta</a></i></td>
+    <td class="roweven" valign="top" width="2000">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.</td>
+</tr>
+<tr>
+        <td class="rowodd" valign="top" nowrap><a href="download_script.php?src_id=3262">bufexplorer.zip</a></td>
+    <td class="rowodd" valign="top" nowrap><b>6.3.0</b></td>
+    <td class="rowodd" valign="top" nowrap><i>2004-07-23</i></td>
+    <td class="rowodd" valign="top" nowrap>6.0</td>
+    <td class="rowodd" valign="top"><i><a href="/account/profile.php?user_id=97">jeff lanzarotta</a></i></td>
+    <td class="rowodd" valign="top" width="2000">Added keepjumps so that the jumps list would not get clutered with bufexplorer related stuff.</td>
+</tr>
+<tr>
+        <td class="roweven" valign="top" nowrap><a href="download_script.php?src_id=2937">bufexplorer.zip</a></td>
+    <td class="roweven" valign="top" nowrap><b>6.2.3</b></td>
+    <td class="roweven" valign="top" nowrap><i>2004-04-15</i></td>
+    <td class="roweven" valign="top" nowrap>6.0</td>
+    <td class="roweven" valign="top"><i><a href="/account/profile.php?user_id=97">jeff lanzarotta</a></i></td>
+    <td class="roweven" valign="top" width="2000">Thanks to Jay Logan for finding&nbsp;&nbsp;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'.</td>
+</tr>
+<tr>
+        <td class="rowodd" valign="top" nowrap><a href="download_script.php?src_id=2652">bufexplorer.zip</a></td>
+    <td class="rowodd" valign="top" nowrap><b>6.2.2</b></td>
+    <td class="rowodd" valign="top" nowrap><i>2004-01-09</i></td>
+    <td class="rowodd" valign="top" nowrap>6.0</td>
+    <td class="rowodd" valign="top"><i><a href="/account/profile.php?user_id=97">jeff lanzarotta</a></i></td>
+    <td class="rowodd" valign="top" width="2000">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...
<br></td>
+</tr>
+<tr>
+        <td class="roweven" valign="top" nowrap><a href="download_script.php?src_id=2383">bufexplorer.zip</a></td>
+    <td class="roweven" valign="top" nowrap><b>6.2.1</b></td>
+    <td class="roweven" valign="top" nowrap><i>2003-10-09</i></td>
+    <td class="roweven" valign="top" nowrap>6.0</td>
+    <td class="roweven" valign="top"><i><a href="/account/profile.php?user_id=97">jeff lanzarotta</a></i></td>
+    <td class="roweven" valign="top" width="2000">Thanks goes out to Takashi Matsuo for added the 'fullPath' sorting logic and option.</td>
+</tr>
+<tr>
+        <td class="rowodd" valign="top" nowrap><a href="download_script.php?src_id=2075">bufexplorer.zip</a></td>
+    <td class="rowodd" valign="top" nowrap><b>6.2.0</b></td>
+    <td class="rowodd" valign="top" nowrap><i>2003-06-13</i></td>
+    <td class="rowodd" valign="top" nowrap>6.0</td>
+    <td class="rowodd" valign="top"><i><a href="/account/profile.php?user_id=97">jeff lanzarotta</a></i></td>
+    <td class="rowodd" valign="top" width="2000">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.</td>
+</tr>
+<tr>
+        <td class="roweven" valign="top" nowrap><a href="download_script.php?src_id=1968">bufexplorer.zip</a></td>
+    <td class="roweven" valign="top" nowrap><b>6.1.6</b></td>
+    <td class="roweven" valign="top" nowrap><i>2003-05-05</i></td>
+    <td class="roweven" valign="top" nowrap>6.0</td>
+    <td class="roweven" valign="top"><i><a href="/account/profile.php?user_id=97">jeff lanzarotta</a></i></td>
+    <td class="roweven" valign="top" width="2000">Thanks to Artem Chuprina for finding a pesky bug that has been around for sometime now. The &lt;esc&gt; key mapping was causing the buffer explored to close prematurely when vim was run in an xterm. The &lt;esc&gt; key mapping is now removed.</td>
+</tr>
+<tr>
+        <td class="rowodd" valign="top" nowrap><a href="download_script.php?src_id=1948">bufexplorer.zip</a></td>
+    <td class="rowodd" valign="top" nowrap><b>6.1.5</b></td>
+    <td class="rowodd" valign="top" nowrap><i>2003-04-28</i></td>
+    <td class="rowodd" valign="top" nowrap>6.0</td>
+    <td class="rowodd" valign="top"><i><a href="/account/profile.php?user_id=97">jeff lanzarotta</a></i></td>
+    <td class="rowodd" valign="top" width="2000">Thanks to Khorev Sergey. Added option to show default help or not.</td>
+</tr>
+<tr>
+        <td class="roweven" valign="top" nowrap><a href="download_script.php?src_id=1822">bufexplorer.zip</a></td>
+    <td class="roweven" valign="top" nowrap><b>6.1.4</b></td>
+    <td class="roweven" valign="top" nowrap><i>2003-03-18</i></td>
+    <td class="roweven" valign="top" nowrap>6.0</td>
+    <td class="roweven" valign="top"><i><a href="/account/profile.php?user_id=97">jeff lanzarotta</a></i></td>
+    <td class="roweven" valign="top" width="2000">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.</td>
+</tr>
+<tr>
+        <td class="rowodd" valign="top" nowrap><a href="download_script.php?src_id=1799">bufexplorer.zip</a></td>
+    <td class="rowodd" valign="top" nowrap><b>6.1.3</b></td>
+    <td class="rowodd" valign="top" nowrap><i>2003-03-11</i></td>
+    <td class="rowodd" valign="top" nowrap>6.0</td>
+    <td class="rowodd" valign="top"><i><a href="/account/profile.php?user_id=97">jeff lanzarotta</a></i></td>
+    <td class="rowodd" valign="top" width="2000">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.</td>
+</tr>
+<tr>
+        <td class="roweven" valign="top" nowrap><a href="download_script.php?src_id=1376">bufexplorer.zip</a></td>
+    <td class="roweven" valign="top" nowrap><b>6.1.2</b></td>
+    <td class="roweven" valign="top" nowrap><i>2002-11-05</i></td>
+    <td class="roweven" valign="top" nowrap>6.0</td>
+    <td class="roweven" valign="top"><i><a href="/account/profile.php?user_id=97">jeff lanzarotta</a></i></td>
+    <td class="roweven" valign="top" width="2000">Now pressing the &lt;esc&gt; 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.</td>
+</tr>
+<tr>
+        <td class="rowodd" valign="top" nowrap><a href="download_script.php?src_id=724">bufexplorer.zip</a></td>
+    <td class="rowodd" valign="top" nowrap><b>6.1.1</b></td>
+    <td class="rowodd" valign="top" nowrap><i>2002-03-28</i></td>
+    <td class="rowodd" valign="top" nowrap>6.0</td>
+    <td class="rowodd" valign="top"><i><a href="/account/profile.php?user_id=97">jeff lanzarotta</a></i></td>
+    <td class="rowodd" valign="top" width="2000">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.
<br></td>
+</tr>
+<tr>
+        <td class="roweven" valign="top" nowrap><a href="download_script.php?src_id=684">bufexplorer.zip</a></td>
+    <td class="roweven" valign="top" nowrap><b>6.0.16</b></td>
+    <td class="roweven" valign="top" nowrap><i>2002-03-14</i></td>
+    <td class="roweven" valign="top" nowrap>6.0</td>
+    <td class="roweven" valign="top"><i><a href="/account/profile.php?user_id=97">jeff lanzarotta</a></i></td>
+    <td class="roweven" valign="top" width="2000">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.
<br></td>
+</tr>
+<tr>
+        <td class="rowodd" valign="top" nowrap><a href="download_script.php?src_id=617">bufexplorer.zip</a></td>
+    <td class="rowodd" valign="top" nowrap><b>6.0.15</b></td>
+    <td class="rowodd" valign="top" nowrap><i>2002-02-20</i></td>
+    <td class="rowodd" valign="top" nowrap>6.0</td>
+    <td class="rowodd" valign="top"><i><a href="/account/profile.php?user_id=97">jeff lanzarotta</a></i></td>
+    <td class="rowodd" valign="top" width="2000">Srinath Avadhanulax added a patch for winmanager.vim.</td>
+</tr>
+<tr>
+        <td class="roweven" valign="top" nowrap><a href="download_script.php?src_id=614">bufexplorer.zip</a></td>
+    <td class="roweven" valign="top" nowrap><b>6.0.14</b></td>
+    <td class="roweven" valign="top" nowrap><i>2002-02-19</i></td>
+    <td class="roweven" valign="top" nowrap>6.0</td>
+    <td class="roweven" valign="top"><i><a href="/account/profile.php?user_id=97">jeff lanzarotta</a></i></td>
+    <td class="roweven" valign="top" width="2000">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.</td>
+</tr>
+<tr>
+        <td class="rowodd" valign="top" nowrap><a href="download_script.php?src_id=553">bufexplorer.zip</a></td>
+    <td class="rowodd" valign="top" nowrap><b>6.0.13</b></td>
+    <td class="rowodd" valign="top" nowrap><i>2002-02-05</i></td>
+    <td class="rowodd" valign="top" nowrap>6.0</td>
+    <td class="rowodd" valign="top"><i><a href="/account/profile.php?user_id=97">jeff lanzarotta</a></i></td>
+    <td class="rowodd" valign="top" width="2000">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)</td>
+</tr>
+<tr>
+        <td class="roweven" valign="top" nowrap><a href="download_script.php?src_id=543">bufexplorer.zip</a></td>
+    <td class="roweven" valign="top" nowrap><b>6.0.12</b></td>
+    <td class="roweven" valign="top" nowrap><i>2002-02-04</i></td>
+    <td class="roweven" valign="top" nowrap>6.0</td>
+    <td class="roweven" valign="top"><i><a href="/account/profile.php?user_id=97">jeff lanzarotta</a></i></td>
+    <td class="roweven" valign="top" width="2000">Thanks to Madoka Machitani, for the tip on adding the augroup command around the MRUList autocommands.</td>
+</tr>
+<tr>
+        <td class="rowodd" valign="top" nowrap><a href="download_script.php?src_id=513">bufexplorer.zip</a></td>
+    <td class="rowodd" valign="top" nowrap><b>6.0.11</b></td>
+    <td class="rowodd" valign="top" nowrap><i>2002-01-26</i></td>
+    <td class="rowodd" valign="top" nowrap>6.0</td>
+    <td class="rowodd" valign="top"><i><a href="/account/profile.php?user_id=97">jeff lanzarotta</a></i></td>
+    <td class="rowodd" valign="top" width="2000">Fixed bug report by Xiangjiang Ma. '&quot;=' was being added to the search history which messed up hlsearch.
<br></td>
+</tr>
+<tr>
+        <td class="roweven" valign="top" nowrap><a href="download_script.php?src_id=472">bufexplorer.zip</a></td>
+    <td class="roweven" valign="top" nowrap><b>6.0.10</b></td>
+    <td class="roweven" valign="top" nowrap><i>2002-01-14</i></td>
+    <td class="roweven" valign="top" nowrap>6.0</td>
+    <td class="roweven" valign="top"><i><a href="/account/profile.php?user_id=97">jeff lanzarotta</a></i></td>
+    <td class="roweven" valign="top" width="2000">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.
<br>Tried to improve performance.
<br>Remember to look at 'help: add-local-help' on how to add the help file into the vim help system.</td>
+</tr>
+<tr>
+        <td class="rowodd" valign="top" nowrap><a href="download_script.php?src_id=427">bufexplorer.zip</a></td>
+    <td class="rowodd" valign="top" nowrap><b>6.0.9</b></td>
+    <td class="rowodd" valign="top" nowrap><i>2001-12-17</i></td>
+    <td class="rowodd" valign="top" nowrap>6.0</td>
+    <td class="rowodd" valign="top"><i><a href="/account/profile.php?user_id=97">jeff lanzarotta</a></i></td>
+    <td class="rowodd" valign="top" width="2000">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.</td>
+</tr>
+<tr>
+        <td class="roweven" valign="top" nowrap><a href="download_script.php?src_id=393">bufexplorer.zip</a></td>
+    <td class="roweven" valign="top" nowrap><b>6.0.8</b></td>
+    <td class="roweven" valign="top" nowrap><i>2001-12-03</i></td>
+    <td class="roweven" valign="top" nowrap>6.0</td>
+    <td class="roweven" valign="top"><i><a href="/account/profile.php?user_id=97">jeff lanzarotta</a></i></td>
+    <td class="roweven" valign="top" width="2000">Was not resetting the showcmd command correctly.
<br>Added nifty help file.</td>
+</tr>
+<tr>
+        <td class="rowodd" valign="top" nowrap><a href="download_script.php?src_id=360">bufexplorer.zip</a></td>
+    <td class="rowodd" valign="top" nowrap><b>6.0.7</b></td>
+    <td class="rowodd" valign="top" nowrap><i>2001-11-19</i></td>
+    <td class="rowodd" valign="top" nowrap>6.0</td>
+    <td class="rowodd" valign="top"><i><a href="/account/profile.php?user_id=97">jeff lanzarotta</a></i></td>
+    <td class="rowodd" valign="top" width="2000">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.
<br></td>
+</tr>
+<tr>
+        <td class="roweven" valign="top" nowrap><a href="download_script.php?src_id=154">bufexplorer.zip</a></td>
+    <td class="roweven" valign="top" nowrap><b>6.0.6</b></td>
+    <td class="roweven" valign="top" nowrap><i>2001-09-05</i></td>
+    <td class="roweven" valign="top" nowrap>6.0</td>
+    <td class="roweven" valign="top"><i><a href="/account/profile.php?user_id=97">jeff lanzarotta</a></i></td>
+    <td class="roweven" valign="top" width="2000">Fixed problem with the SortListing() function failing when there was only one buffer to display.
<br></td>
+</tr>
+<tr>
+        <td class="rowodd" valign="top" nowrap><a href="download_script.php?src_id=93">bufexplorer.zip</a></td>
+    <td class="rowodd" valign="top" nowrap><b>6.0.5</b></td>
+    <td class="rowodd" valign="top" nowrap><i>2001-08-10</i></td>
+    <td class="rowodd" valign="top" nowrap>6.0</td>
+    <td class="rowodd" valign="top"><i><a href="/account/profile.php?user_id=97">jeff lanzarotta</a></i></td>
+    <td class="rowodd" valign="top" width="2000">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.</td>
+</tr>
+<tr>
+        <td class="roweven" valign="top" nowrap><a href="download_script.php?src_id=77">bufexplorer.zip</a></td>
+    <td class="roweven" valign="top" nowrap><b>6.0.4</b></td>
+    <td class="roweven" valign="top" nowrap><i>2001-07-31</i></td>
+    <td class="roweven" valign="top" nowrap>6.0</td>
+    <td class="roweven" valign="top"><i><a href="/account/profile.php?user_id=97">jeff lanzarotta</a></i></td>
+    <td class="roweven" valign="top" width="2000">Thanks to Charles Campbell for making this plugin more plugin *compliant*, adding default keymappings of &lt;Leader&gt;be and &lt;Leader&gt;bs as well as fixing the 'w:sortDirLabel not being defined' bug.
<br></td>
+</tr>
+<tr>
+        <td class="rowodd" valign="top" nowrap><a href="download_script.php?src_id=72">bufexplorer.zip</a></td>
+    <td class="rowodd" valign="top" nowrap><b>6.0.3</b></td>
+    <td class="rowodd" valign="top" nowrap><i>2001-07-30</i></td>
+    <td class="rowodd" valign="top" nowrap>6.0</td>
+    <td class="rowodd" valign="top"><i><a href="/account/profile.php?user_id=97">jeff lanzarotta</a></i></td>
+    <td class="rowodd" valign="top" width="2000">Added ability to sort buffers by 'buffer number' or 'name' in forward and reverse order.</td>
+</tr>
+<tr>
+        <td class="roweven" valign="top" nowrap><a href="download_script.php?src_id=60">bufexplorer.zip</a></td>
+    <td class="roweven" valign="top" nowrap><b>6.0.2</b></td>
+    <td class="roweven" valign="top" nowrap><i>2001-07-25</i></td>
+    <td class="roweven" valign="top" nowrap>6.0</td>
+    <td class="roweven" valign="top"><i><a href="/account/profile.php?user_id=97">jeff lanzarotta</a></i></td>
+    <td class="roweven" valign="top" width="2000">Initial upload</td>
 </tr>
 </table>
 <!-- finish off the framework -->
@@ -601,6 +625,7 @@
         </tr>
       </table>
     </td>
+
   </tr>
 </table>
 
@@ -639,8 +664,7 @@
           </td>
 
     <td align="right" valign="top">
-      	<a href="http://www.webconceptgroup.net"><img src="/images/logo_sponsor_wcg.jpg" width="131" height="30" border="0" alt="Sponsored by Web Concept Group Inc."></a>
-	<a href="http://sourceforge.net"><img src="http://sflogo.sourceforge.net/sflogo.php?group_id=8&type=1" width="88" height="31" border="0" alt="SourceForge.net Logo" /></a>
+      		<a href="http://sourceforge.net" rel="nofollow"><img src="http://sflogo.sourceforge.net/sflogo.php?group_id=8&type=1" width="88" height="31" border="0" alt="SourceForge.net Logo" /></a>
     </td>
 
     <td><img src="/images/spacer.gif" width="5" height="1" alt=""></td>

Modified: trunk/packages/vim-scripts/plugin/bufexplorer.vim
URL: http://svn.debian.org/wsvn/pkg-vim/trunk/packages/vim-scripts/plugin/bufexplorer.vim?rev=1292&op=diff
==============================================================================
--- trunk/packages/vim-scripts/plugin/bufexplorer.vim (original)
+++ trunk/packages/vim-scripts/plugin/bufexplorer.vim Sat Dec  6 02:15:45 2008
@@ -1,5 +1,5 @@
 "=============================================================================
-"    Copyright: Copyright (C) 2001-2007 Jeff Lanzarotta
+"    Copyright: Copyright (C) 2001-2008 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,7 +10,7 @@
 " Name Of File: bufexplorer.vim
 "  Description: Buffer Explorer Vim Plugin
 "   Maintainer: Jeff Lanzarotta (delux256-vim at yahoo dot com)
-" Last Changed: Friday, 21 December 2007
+" Last Changed: Wednesday, 19 Nov 2008
 "      Version: See g:bufexplorer_version for version number.
 "        Usage: This file should reside in the plugin directory and be
 "               automatically sourced.
@@ -18,10 +18,14 @@
 "               You may use the default keymappings of
 "
 "                 <Leader>be  - Opens BufExplorer
+"                 <Leader>bs  - Opens horizontally split window BufExplorer
+"                 <Leader>bv  - Opens vertically split window BufExplorer
 "
 "               Or you can use
 "
 "                 ":BufExplorer" - Opens BufExplorer
+"                 ":HSBufExplorer" - Opens horizontally window BufExplorer
+"                 ":VSBufExplorer" - Opens vertically split window BufExplorer
 "
 "               For more help see supplied documentation.
 "      History: See supplied documentation.
@@ -34,7 +38,7 @@
 "1}}}
 
 " Version number
-let g:bufexplorer_version = "7.1.7"
+let g:bufexplorer_version = "7.2.2"
 
 " Check for Vim version 700 or greater {{{1
 if v:version < 700
@@ -44,9 +48,13 @@
 
 " Public Interface {{{1
 nmap <silent> <unique> <Leader>be :BufExplorer<CR>
+nmap <silent> <unique> <Leader>bs :HSBufExplorer<CR>
+nmap <silent> <unique> <Leader>bv :VSBufExplorer<CR>
 
 " Create commands {{{1
 command BufExplorer :call StartBufExplorer(has ("gui") ? "drop" : "hide edit")
+command HSBufExplorer :call HorizontalSplitBufExplorer()
+command VSBufExplorer :call VerticalSplitBufExplorer()
 
 " Set {{{1
 function s:Set(var, default)
@@ -64,15 +72,17 @@
 endfunction
 
 " Default values {{{1
-call s:Set("g:bufExplorerDefaultHelp", 1) " Show default help?
-call s:Set("g:bufExplorerDetailedHelp", 0) " Show detailed help?
-call s:Set("g:bufExplorerFindActive", 1) " When selecting an active buffer, take you to the window where it is active?
-call s:Set("g:bufExplorerReverseSort", 0) " sort reverse?
-call s:Set("g:bufExplorerShowDirectories", 1) " (Dir's are added by commands like ':e .')
-call s:Set("g:bufExplorerShowRelativePath", 0) " Show listings with relative or absolute paths?
-call s:Set("g:bufExplorerShowUnlisted", 0) " Show unlisted buffers?
-call s:Set("g:bufExplorerSortBy", "mru") " Sorting methods are in s:sort_by:
-call s:Set("g:bufExplorerSplitOutPathName", 1) " Split out path and file name?
+call s:Set("g:bufExplorerDefaultHelp", 1)           " Show default help?
+call s:Set("g:bufExplorerDetailedHelp", 0)          " Show detailed help?
+call s:Set("g:bufExplorerFindActive", 1)            " When selecting an active buffer, take you to the window where it is active?
+call s:Set("g:bufExplorerReverseSort", 0)           " sort reverse?
+call s:Set("g:bufExplorerShowDirectories", 1)       " (Dir's are added by commands like ':e .')
+call s:Set("g:bufExplorerShowRelativePath", 0)      " Show listings with relative or absolute paths?
+call s:Set("g:bufExplorerShowUnlisted", 0)          " Show unlisted buffers?
+call s:Set("g:bufExplorerSortBy", "mru")            " Sorting methods are in s:sort_by:
+call s:Set("g:bufExplorerSplitOutPathName", 1)      " Split out path and file name?
+call s:Set("g:bufExplorerSplitRight", &splitright)  " Should vertical splits be on the right or left of current window?
+call s:Set("g:bufExplorerSplitBelow", &splitbelow)  " Should horizontal splits be below or above current window?
 
 " Global variables {{{1
 let s:MRUList = []
@@ -81,17 +91,17 @@
 let s:tabSpace = []
 let s:types = {"fullname": ':p', "path": ':p:h', "relativename": ':~:.', "relativepath": ':~:.:h', "shortname": ':t'}
 let s:originBuffer = 0
+let s:splitMode = ""
 
 " Setup the autocommands that handle the MRUList and other stuff. {{{1
 autocmd VimEnter * call s:Setup()
 
 " Setup {{{1
 function s:Setup()
-  " Build initial MRUList.
+                                " Build initial MRUList.
   let s:MRUList = range(1, bufnr('$'))
   let s:tabSpace = []
-
-  " Now that the MRUList is created, add the other autocmds.
+                                " Now that the MRUList is created, add the other autocmds.
   autocmd BufEnter,BufNew * call s:ActivateBuffer()
   autocmd BufWipeOut * call s:DeactivateBuffer(1)
   autocmd BufDelete * call s:DeactivateBuffer(0)
@@ -120,11 +130,16 @@
   "echom "buffers:" string(tabpagebuflist())
   "echom "MRU before:" string(s:MRUList)
 
+  let _bufnr = bufnr(expand("<afile>"))
+  let _buftype = getbufvar(_bufnr, "&buftype")
+
+  if empty(_buftype) || _buftype == "nofile" || !buflisted(_bufnr) || empty(bufname(_bufnr)) || fnamemodify(bufname(_bufnr), ":t") == "[BufExplorer]"
+    return
+  end
+
   if a:remove
     call s:MRUPop(bufnr(expand("<afile>")))
   end
-
-  "echom "MRU after:" string(s:MRUList)
 endfunction
 
 " MRUPop {{{1
@@ -134,15 +149,16 @@
 
 " MRUPush {{{1
 function s:MRUPush(buf)
-  " Skip temporary buffer with buftype set.
-  " Don't add the BufExplorer window to the list.
+                                " Skip temporary buffer with buftype set. Don't add the BufExplorer window to the
+                                " list.
   if !empty(getbufvar(a:buf, "&buftype")) ||
       \ !buflisted(a:buf) || empty(bufname(a:buf)) ||
       \ fnamemodify(bufname(a:buf), ":t") == "[BufExplorer]"
     return
   end
-
+                                " Remove the buffer number from the list if it already exists.
   call s:MRUPop(a:buf)
+                                " Add the buffer number to the head of the list.
   call insert(s:MRUList,a:buf)
 endfunction
 
@@ -182,8 +198,21 @@
   let &report = s:_report
   let &list = s:_list
   let s:running = 0
+  let s:splitMode = ""
 
   delmarks!
+endfunction
+
+" HorizontalSplitBufExplorer {{{1
+function HorizontalSplitBufExplorer()
+  let s:splitMode = "sp"
+  exec "BufExplorer"
+endfunction
+
+" VerticalSplitBufExplorer {{{1
+function VerticalSplitBufExplorer()
+  let s:splitMode = "vsp"
+  exec "BufExplorer"
 endfunction
 
 " StartBufExplorer {{{1
@@ -191,13 +220,12 @@
   let name = '[BufExplorer]'
 
   if !has("win32")
-    " On non-Windows boxes, escape the name so that is shows up correctly.
+                                " On non-Windows boxes, escape the name so that is shows up correctly.
     let name = escape(name, "[]")
   endif
-
-  " Make sure there is only one explorer open at a time.
+                                " Make sure there is only one explorer open at a time.
   if s:running == 1
-    " Go to the open buffer.
+                                " Go to the open buffer.
     if has("gui")
       exec "drop" name
     endif
@@ -220,14 +248,25 @@
 
   if len(copy) <= 1
     echo "\r"
-    call s:Warn("Sorry, there are no more buffers to explore")
-
-    return
+    call s:Warning("Sorry, there are no more buffers to explore")
+
+    return
+  endif
+                                " We may have to split the current window.
+  if (s:splitMode != "")
+                                " Save off the original settings.
+    let [_splitbelow, _splitright] = [&splitbelow, &splitright]
+                                " Set the setting to ours.
+    let [&splitbelow, &splitright] = [g:bufExplorerSplitBelow, g:bufExplorerSplitRight]
+                                " Do it.
+    exe s:splitMode
+                                " Restore the original settings.
+    let [&splitbelow, &splitright] = [_splitbelow, _splitright]
   endif
 
   if !exists("b:displayMode") || b:displayMode != "winmanager"
-    " Do not use keepalt when opening bufexplorer to allow the buffer that we
-    " are leaving to become the new alternate buffer
+                                " Do not use keepalt when opening bufexplorer to allow the buffer that we are
+                                " leaving to become the new alternate buffer
     exec "silent keepjumps ".a:open." ".name
   endif
 
@@ -258,7 +297,7 @@
 " MapKeys {{{1
 function s:MapKeys()
   if exists("b:displayMode") && b:displayMode == "winmanager"
-    nnoremap <buffer> <silent> <tab> :call <SID>SelectBuffer()<cr>
+    nnoremap <buffer> <silent> <tab> :call <SID>SelectBuffer("tab")<cr>
   endif
 
   nnoremap <buffer> <silent> <F1>          :call <SID>ToggleHelp()<cr>
@@ -330,11 +369,9 @@
   let g:bufExplorerDetailedHelp = !g:bufExplorerDetailedHelp
 
   setlocal modifiable
-
-  " Save position
+                                " Save position.
   normal! ma
-
-  " Remove old header
+                                " Remove old header.
   if (s:firstBufferLine > 1)
     exec "keepjumps 1,".(s:firstBufferLine - 1) "d _"
   endif
@@ -447,11 +484,10 @@
 " BuildBufferList {{{1
 function s:BuildBufferList()
   let lines = []
-
-  " Loop through every buffer.
+                                " Loop through every buffer.
   for buf in s:raw_buffer_listing
     if (!g:bufExplorerShowUnlisted && buf.attributes =~ "u")
-      " skip unlisted buffers if we are not to show them
+                                " Skip unlisted buffers if we are not to show them.
       continue
     endif
 
@@ -486,11 +522,10 @@
 
 " SelectBuffer {{{1
 function s:SelectBuffer(...)
-  " Sometimes messages are not cleared when we get here so it looks like an
-  " error has occurred when it really has not.
+                                " Sometimes messages are not cleared when we get here so it looks like an error has
+                                " occurred when it really has not.
   echo ""
-
-  " Are we on a line with a file name?
+                                " Are we on a line with a file name?
   if line('.') < s:firstBufferLine
     exec "normal! \<cr>"
     return
@@ -501,8 +536,12 @@
   if exists("b:displayMode") && b:displayMode == "winmanager"
     let bufname = expand("#"._bufNbr.":p")
 
-    call WinManagerFileEdit(bufname, 0)
-
+    if (a:0 == 1) && (a:1 == "tab")
+      call WinManagerFileEdit(bufname, 1)
+    else
+      call WinManagerFileEdit(bufname, 0)
+    endif
+ 
     return
   end
 
@@ -512,33 +551,38 @@
     endif
 
     if (a:0 == 1) && (a:1 == "tab")
-      " Restore [BufExplorer] buffer.
+                                " Restore [BufExplorer] buffer.
       exec "keepjumps silent buffer!".s:originBuffer
 
       let tabNbr = s:GetTabNbr(_bufNbr)
 
       if tabNbr == 0
-        " _bufNbr is not opened in any tabs
+                                " _bufNbr is not opened in any tabs. Open a new tab with the selected buffer in it.
         exec "999tab split +buffer" . _bufNbr
       else
-        " _bufNbr is already opened in tab(s)
+                                " The _bufNbr is already opened in tab(s), go to that tab.
         exec tabNbr . "tabnext"
-        " Focus window.
+                                " Focus window.
         exec s:GetWinNbr(tabNbr, _bufNbr) . "wincmd w"
       endif
     else
-      " If the buf is active, then go to the tab where it is opened.
       if bufloaded(_bufNbr) && g:bufExplorerFindActive
         call s:Close()
-        let bufname = expand("#"._bufNbr.":p")
-        exec bufname ? "drop ".escape(bufname, " ") : "buffer "._bufNbr
+
+        let tabNbr = s:GetTabNbr(_bufNbr)
+
+        if tabNbr != 0
+                                " The buffer is located in a tab. Go to that tab number.
+          exec tabNbr . "tabnext"
+        else
+          let bufname = expand("#"._bufNbr.":p")
+          exec bufname ? "drop ".escape(bufname, " ") : "buffer "._bufNbr
+        endif
       endif
-
-      " Switch to the buffer.
+                                " Switch to the buffer.
       exec "keepalt keepjumps silent b!" _bufNbr
     endif
-
-    " Make the buffer 'listed' again.
+                                " Make the buffer 'listed' again.
     call setbufvar(_bufNbr, "&buflisted", "1")
   else
     call s:Error("Sorry, that buffer no longer exists, please select another")
@@ -548,18 +592,16 @@
 
 " RemoveBuffer {{{1
 function s:RemoveBuffer(mode)
-  " Are we on a line with a file name?
+                                " Are we on a line with a file name?
   if line('.') < s:firstBufferLine
     return
   endif
-
-  " Do not allow this buffer to be deleted if it is the last one.
+                                " Do not allow this buffer to be deleted if it is the last one.
   if len(s:MRUList) == 1
     call s:Error("Sorry, you are not allowed to delete the last buffer")
     return
   endif
-
-  " These commands are to temporarily suspend the activity of winmanager.
+                                " These commands are to temporarily suspend the activity of winmanager.
   if exists("b:displayMode") && b:displayMode == "winmanager"
     call WinManagerSuspendAUs()
   end
@@ -570,11 +612,10 @@
     call s:Error("Sorry, no write since last change for buffer "._bufNbr.", unable to delete")
     return
   else
-    " Okay, everything is good, delete or wipe the buffer.
+                                " Okay, everything is good, delete or wipe the buffer.
     call s:DeleteBuffer(_bufNbr, a:mode)
   endif
-
-  " Reactivate winmanager autocommand activity.
+                                " Reactivate winmanager autocommand activity.
   if exists("b:displayMode") && b:displayMode == "winmanager"
     call WinManagerForceReSize("BufExplorer")
     call WinManagerResumeAUs()
@@ -583,7 +624,7 @@
 
 " DeleteBuffer {{{1
 function s:DeleteBuffer(buf, mode)
-  " This routine assumes that the buffer to be removed is on the current line.
+                                " This routine assumes that the buffer to be removed is on the current line.
   try
     if a:mode == "wipe"
       exe "silent bw" a:buf
@@ -594,8 +635,7 @@
     setlocal modifiable
     normal! "_dd
     setlocal nomodifiable
-
-    " Delete the buffer from the raw buffer list.
+                                " Delete the buffer from the raw buffer list.
     call filter(s:raw_buffer_listing, 'v:val.attributes !~ " '.a:buf.' "')
   catch
     call s:Error(v:exception)
@@ -604,8 +644,12 @@
 
 " Close {{{1
 function s:Close()
-  " Get only the listed buffers.
+                                " Get only the listed buffers.
   let listed = filter(copy(s:MRUList), "buflisted(v:val)")
+                                " If we needed to split the main window, close the split one.
+  if (s:splitMode != "")
+    exec "wincmd c"
+  end
 
   for b in reverse(listed[0:1])
     exec "keepjumps silent b ".b
@@ -683,7 +727,7 @@
 
 " SortSelect {{{1
 function s:SortSelect()
-  let g:bufExplorerSortBy = get(s:sort_by, index(s:sort_by, g:bufExplorerSortBy)+1, s:sort_by[0])
+  let g:bufExplorerSortBy = get(s:sort_by, index(s:sort_by, g:bufExplorerSortBy) + 1, s:sort_by[0])
 
   call s:ReSortListing()
 endfunction
@@ -707,7 +751,7 @@
   let sort = s:firstBufferLine.",$sort".((g:bufExplorerReverseSort == 1) ? "!": "")
 
   if g:bufExplorerSortBy == "number"
-    " Easiest case.
+                                " Easiest case.
     exec sort 'n'
   elseif g:bufExplorerSortBy == "name"
     if g:bufExplorerSplitOutPathName
@@ -717,7 +761,7 @@
     endif
   elseif g:bufExplorerSortBy == "fullpath"
     if g:bufExplorerSplitOutPathName
-      " Sort twice - first on the file name then on the path.
+                                " Sort twice - first on the file name then on the path.
       exec sort 'ir /\d.\{7}\zs\f\+\ze/'
     endif
 
@@ -747,8 +791,8 @@
   echohl ErrorMsg | echo a:msg | echohl none
 endfunction
 
-" Warn {{{1
-function s:Warn(msg)
+" Warning {{{1
+function s:Warning(msg)
   echohl WarningMsg | echo a:msg | echohl none
 endfunction
 
@@ -820,6 +864,6 @@
 
   call setpos(".", pres)
 endfunction
-"}}}1
+"1}}}
 
 " vim:ft=vim foldmethod=marker sw=2




More information about the pkg-vim-maintainers mailing list