Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Version 7.1.5: Fixed: Could not open unnamed buffers. Fixed by TaCahi…

…roy.
  • Loading branch information...
commit ee91ff315fba1acf4f0d7e96e017cf44fad9c3f4 1 parent 10a77ac
jeff lanzarotta authored committed
Showing with 9 additions and 6 deletions.
  1. +5 −3 doc/bufexplorer.txt
  2. +4 −3 plugin/bufexplorer.vim
View
8 doc/bufexplorer.txt
@@ -1,7 +1,7 @@
-*bufexplorer.txt* Buffer Explorer Last Change: 16 Nov 2007
+*bufexplorer.txt* Buffer Explorer Last Change: 30 Nov 2007
Buffer Explorer *buffer-explorer* *bufexplorer*
- Version 7.1.4
+ Version 7.1.5
Plugin for easily exploring (or browsing) Vim |:buffers|.
@@ -146,6 +146,8 @@ The default is to split the path and file name.
===============================================================================
CHANGE LOG *bufexplorer-changelog*
+7.1.5 - Fixes:
+ * Could not open unnamed buffers. Fixed by TaCahiroy.
7.1.4 - Fixes:
* Sometimes when a file's path has 'white space' in it, extra buffers
would be created containing each piece of the path. i.e:
@@ -396,4 +398,4 @@ helped and gave me suggestions. I wouldn't want to leave anyone out so I
won't list names.
===============================================================================
-vim:tw=78:noet:wrap:ts=8:ft=help:norl:
+vim:tw=78:noet:wrap:ts=8:ft=help:ff=unix:norl:
View
7 plugin/bufexplorer.vim
@@ -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, 16 November 2007
+" Last Changed: Friday, 30 November 2007
" Version: See g:bufexplorer_version for version number.
" Usage: This file should reside in the plugin directory and be
" automatically sourced.
@@ -34,7 +34,7 @@ endif
"1}}}
" Version number
-let g:bufexplorer_version = "7.1.4"
+let g:bufexplorer_version = "7.1.5"
" Check for Vim version 700 or greater {{{1
if v:version < 700
@@ -514,7 +514,8 @@ function s:SelectBuffer(...)
if bufloaded(_bufNbr) && g:bufExplorerFindActive
call s:Close()
let bufname = expand("#"._bufNbr.":p")
- exec "drop" substitute(bufname, "\\s", "\\\\ ", "g")
+" exec "drop" substitute(bufname, "\\s", "\\\\ ", "g")
+ exec bufname ? "drop ".substitute(bufname, "\\s", "\\\\ ", "g") : "buffer "._bufNbr
elseif (a:0)
call s:Close()
tabnew
Please sign in to comment.
Something went wrong with that request. Please try again.