ctrlp-history


Ⅰ. 插件描述

exec command from history via ctrlp

Ⅱ. 基本信息

创建日期:  2013-02-11
使用用户:  4
Github星:  5
插件作者:  Shohei Fujii

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

ctrlp-history

Adds cmd history (what you see in g:) and search history (what you see in
g/) to ctrlp so you can quickly re-run commands or searches.

Install

Please install ctrlp.vim to use this plugin.

Bundle/NeoBundle will be convenient plugins to install such plugins.

Usage

:CtrlPCmdHistory
:CtrlPSearchHistory

An example of .vimrc

nnoremap <silent><C-p><C-h> :CtrlPCmdHistory<CR>
nnoremap <silent><C-p><C-s> :CtrlPSearchHistory<CR>

添加新评论