Ⅰ. 插件描述
CtrlP plugin for opening NERDTree in specified directory.Ⅱ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'voronkovich/ctrlp-nerdtree-vim'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'voronkovich/ctrlp-nerdtree-vim'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'voronkovich/ctrlp-nerdtree-vim'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/voronkovich/ctrlp-nerdtree.vim
Ⅳ. 文档说明
# ctrlp-nerdtree
This CtrlP extension allows you to open the NERDTree in a specified directory. It works only in Unix-like operating systems.
How to use
:CtrlPNerdTreeBy default the plugin ignores hidden directories. You can change this by adding:
let g:ctrlp_nerdtree_show_hidden = 1to your .vimrc
Installation
If you use the MacOS you will need to install a findutils package:
brew install findutilsUsing pathogen
git clone git://github.com/voronkovich/ctrlp-nerdtree.vim ~/.vim/bundle/ctrlp-nerdtree.vimUsing vundle
Add to vimrc:
Plugin 'voronkovich/ctrlp-nerdtree.vim'License
Copyright (c) Voronkovich Oleg. Distributed under the same terms as Vim itself.
See :help license.