Commits

Audrius Kažukauskas committed 589e970

Upgrade to BufExplorer 7.3.2.

Comments (0)

Files changed (3)

doc/bufexplorer.txt

-*bufexplorer.txt*              Buffer Explorer       Last Change: 04 Dec 2012
+*bufexplorer.txt*              Buffer Explorer       Last Change: 23 Dec 2012
 
 Buffer Explorer                                *buffer-explorer* *bufexplorer*
-                                Version 7.3.1
+                                Version 7.3.2
 
 Plugin for easily exploring (or browsing) Vim |:buffers|.
 
 ===============================================================================
 CHANGE LOG                                              *bufexplorer-changelog*
 
+7.3.2  - Fix:
+         * Thanks go out to Michael Henry for pointing out that I completely
+           missed yet another function, ReverseSortSelect(), during the
+           refactoring.  This function has now returned.
 7.3.1  - Fix:
          * Thanks go out to Brett Rasmussen for pointing out that the feature
            added way back in version 7.2.3 by Yuriy Ershov to automatically

plugin/bufexplorer.vim

 " Name Of File: bufexplorer.vim
 "  Description: Buffer Explorer Vim Plugin
 "   Maintainer: Jeff Lanzarotta (delux256-vim at yahoo dot com)
-" Last Changed: Tuesday, 04 Dec 2012
+" Last Changed: Sunday, 23 Dec 2012
 "      Version: See g:bufexplorer_version for version number.
 "        Usage: This file should reside in the plugin directory and be
 "               automatically sourced.
 "2}}}
 
 " Version number
-let g:bufexplorer_version = "7.3.1"
+let g:bufexplorer_version = "7.3.2"
 
 " Check for Vim version {{{2
 if v:version < 700
     call s:ReSortListing()
 endfunction
 
+" ReverseSortSelect {{{2
+function! s:ReverseSortSelect()
+    let g:bufExplorerSortBy = get(s:sort_by, index(s:sort_by, g:bufExplorerSortBy) - 1, s:sort_by[-1])
+    call s:ReSortListing()
+endfunction
+
 " ReSortListing {{{2
 function! s:ReSortListing()
     setlocal modifiable
 " Set width to 79 for all ReST files.
 au FileType rst setlocal textwidth=79
 
-au FileType xhtml,html,xml,xslt setlocal softtabstop=2 shiftwidth=2
+au FileType xhtml,html,xml,xslt,jinja setlocal softtabstop=2 shiftwidth=2
 au FileType rst,mail setlocal softtabstop=2 shiftwidth=2
 au FileType make setlocal softtabstop=8 shiftwidth=8 noexpandtab