Ⅰ. 插件描述
locate and open it via ctrlp.vim!Ⅱ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'ompugao/ctrlp-locate'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'ompugao/ctrlp-locate'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'ompugao/ctrlp-locate'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/ompugao/ctrlp-locate
Ⅳ. 文档说明
# ctrlp-locate
locate and open it via ctrlp.vim!
Installation
- use your favorite method.
Plug 'ompugao/ctrlp-locate'
Bundle 'ompugao/ctrlp-locate'
NeoBundle 'ompugao/ctrlp-locate'Usage
- call command:
:CtrlPLocate- there will be no entry. it's fine.
- and then, input whatever word you want to search. for example:
>>> test- wait a little bit...
> /boot/grub/x86_64-efi/setjmp_test.mod
> /boot/grub/x86_64-efi/pbkdf2_test.mod
> /boot/grub/x86_64-efi/legacy_password_test.mod
> /boot/grub/x86_64-efi/functional_test.mod
> /boot/grub/x86_64-efi/exfctest.mod
> /boot/grub/x86_64-efi/div_test.mod
> /boot/grub/x86_64-efi/cmdline_cat_test.mod
> /boot/memtest86+_multiboot.bin
> /boot/memtest86+.elf
> /boot/memtest86+.bin- Yes! select whatever you want to open!
Configuration
- see doc/ctrlp-locate.txt
LICENSE
MIT