Skip to content

Commit

Permalink
Version 7.1.3
Browse files Browse the repository at this point in the history
Added code to allow only one instance of the plugin to run at a time. Thanks Dennis Hostetler.
  • Loading branch information
jeff lanzarotta authored and vim-scripts committed Oct 18, 2010
1 parent 918ffc0 commit 0c9b58e
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 10 deletions.
7 changes: 5 additions & 2 deletions doc/bufexplorer.txt
@@ -1,7 +1,7 @@
*bufexplorer.txt* Buffer Explorer Last Change: 02 Nov 2007
*bufexplorer.txt* Buffer Explorer Last Change: 15 Nov 2007

Buffer Explorer *buffer-explorer* *bufexplorer*
Version 7.1.2
Version 7.1.3

Plugin for easily exploring (or browsing) Vim |:buffers|.

Expand Down Expand Up @@ -146,6 +146,9 @@ The default is to split the path and file name.
===============================================================================
CHANGE LOG *bufexplorer-changelog*

7.1.3 - Fixes:
* Added code to allow only one instance of the plugin to run at a
time. Thanks Dennis Hostetler.
7.1.2 - Fixes:
* Fixed a jumplist issue spotted by JiangJun. I overlooked the
'jumplist' and with a couple calls to 'keepjumps', everything is
Expand Down
17 changes: 9 additions & 8 deletions plugin/bufexplorer.vim
Expand Up @@ -8,11 +8,11 @@
" event will the copyright holder be liable for any damages
" resulting from the use of this software.
" Name Of File: bufexplorer.vim
" Description: Buffer Explorer Vim Autoload file
" Description: Buffer Explorer Vim Plugin
" Maintainer: Jeff Lanzarotta (delux256-vim at yahoo dot com)
" Last Changed: Monday, 05 November 2007
" Last Changed: Thursday, 15 November 2007
" Version: See g:bufexplorer_version for version number.
" Usage: This file should reside in the autoload directory and be
" Usage: This file should reside in the plugin directory and be
" automatically sourced.
"
" You may use the default keymappings of
Expand All @@ -27,15 +27,14 @@
" History: See supplied documentation.
"=============================================================================

" Check compatibility {{{1
" Exit quickly when 'compatible' is set.
if &cp
" Exit quickly if already running or when 'compatible' is set. {{{1
if exists("g:bufexplorer_version") || &cp
finish
endif
"1}}}

" Version number
let g:bufexplorer_version = "7.1.2"
let g:bufexplorer_version = "7.1.3"

" Check for Vim version 700 or greater {{{1
if v:version < 700
Expand All @@ -45,9 +44,11 @@ endif

" Public Interface {{{1
nmap <silent> <unique> <Leader>be :BufExplorer<CR>
"XXXXX nmap <silent> <unique> <Leader>bs :SBufExplorer<CR>

" Create commands {{{1
command BufExplorer :call StartBufExplorer(has("gui")?"drop": "hide edit")
command BufExplorer :call StartBufExplorer(has ("gui") ? "drop" : "hide edit")
"XXXXX command SBufExplorer :call StartBufExplorer(has ("gui") ? "sp" : "hide edit")

" Set {{{1
function s:Set(var, default)
Expand Down

0 comments on commit 0c9b58e

Please sign in to comment.