Permalink
Browse files

Version 7.2.1

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.
  • Loading branch information...
1 parent c941cb5 commit 1e1af95db414bee2764fc3f4c00957adc77fdb15 jeff lanzarotta committed with Sep 3, 2008
Showing with 16 additions and 7 deletions.
  1. +7 −2 doc/bufexplorer.txt
  2. +9 −5 plugin/bufexplorer.vim
View
@@ -1,7 +1,7 @@
-*bufexplorer.txt* Buffer Explorer Last Change: 15 Aug 2008
+*bufexplorer.txt* Buffer Explorer Last Change: 02 Sep 2008
Buffer Explorer *buffer-explorer* *bufexplorer*
- Version 7.2.0
+ Version 7.2.1
Plugin for easily exploring (or browsing) Vim |:buffers|.
@@ -164,6 +164,11 @@ The default is to use the global &splitright.
===============================================================================
CHANGE LOG *bufexplorer-changelog*
+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
View
@@ -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, 15 Aug 2008
+" Last Changed: Tuesday, 02 Sep 2008
" Version: See g:bufexplorer_version for version number.
" Usage: This file should reside in the plugin directory and be
" automatically sourced.
@@ -38,7 +38,7 @@ endif
"1}}}
" Version number
-let g:bufexplorer_version = "7.2.0"
+let g:bufexplorer_version = "7.2.1"
" Check for Vim version 700 or greater {{{1
if v:version < 700
@@ -297,7 +297,7 @@ endfunction
" 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>
@@ -536,8 +536,12 @@ function s:SelectBuffer(...)
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

0 comments on commit 1e1af95

Please sign in to comment.