bufexplorer


Ⅰ. 插件描述

Clone of Jeff Lanzarotta's bufexplorer from vim.org

Ⅱ. 基本信息

创建日期:  2011-01-01
使用用户:  220
Github星:  34
插件作者:  Kevin

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'corntrace/bufexplorer-speak-now'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'corntrace/bufexplorer-speak-now'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'corntrace/bufexplorer-speak-now'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/corntrace/bufexplorer

Ⅳ. 文档说明

created by

jeff lanzarotta

script type

utility

description

With bufexplorer, you can quickly and easily switch between buffers by using the one of the default public interfaces:

'\be' (normal open)  or 
'\bs' (force horizontal split open)  or 
'\bv' (force vertical split open) 

Once the bufexplorer window is open you can use the normal movement keys (hjkl) to move around and then use <Enter> or <Left-Mouse-Click> 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 <Shift-Enter> 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.

Bufexplorer also offers various options including:

  • Display the list of buffers in various sort orders including:

    • Most Recently Used (MRU) which is the default
    • Buffer number
    • File name
    • File extension
    • Full file path name
  • Delete buffer from list

For more about options, sort orders, configuration options, etc. please see the supplied VIM help.

install details

Simply unzip bufexplorer.zip into a directory in your 'runtimepath', usually ~/.vim or c:vimfiles, and restart Vim. This zip file contains pluginbufexplorer.vim, and docbufexplorer.txt. See ':help add-local-help' on how to add bufexplorer.txt to vim's help system.

NOTE

Version 7.0.12 and above will ONLY work with 7.0 and above of Vim.

IMPORTANT: If you have a version prior to 7.1.2 that contains an autoloadbufexplorer.vim file, please REMOVE the autoloadbufexlorer.vim AND the pluginbufexplorer.vim files before installing a new version.

添加新评论