ctrlp-extensions.vim


Ⅰ. 插件描述

Plugins for ctrlp.vim

Ⅱ. 基本信息

创建日期:  2012-04-23
使用用户:  57
Github星:  50
插件作者:  sgur

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'sgur/ctrlp-extensions-vim'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

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

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'sgur/ctrlp-extensions-vim'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'sgur/ctrlp-extensions-vim'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/sgur/ctrlp-extensions.vim

Ⅳ. 文档说明

ctrlp-extensions.vim

Extensions for ctrlp.vim

  • cmdline : cmdline history
  • yankring : yank history
  • menu : extension selector menu

Demo

menu

Requirement

Usage

:CtrlPCmdline

Invoking CtrlP in cmdline-history

:CtrlPMenu

Invoking CtrlP in CtrlP extensions (including files, buffers, mrus,)

:CtrlPYankring

Invoking CtrlP in yank history

Cutomization

g:ctrlp_yankring_disable

Set 1 to disable yankring feature.

It is useful with yankround.vim plugin.

g:ctrlp_yankring_limit

Limit display item number to this value.

" default value
let g:ctrlp_yankring_limit = 100

g:ctrlp_yankring_minimum_chars

The minimum type keys to start searching candidates

" default value
let g:ctrlp_yankring_minimum_chars = 2

License

MIT License

Author

sgur <sgurrr+vim@gmail.com>

添加新评论