Ⅰ. 插件描述
Ⅱ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'ko2ic/nerdtree-plugin-ag'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'ko2ic/nerdtree-plugin-ag'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'ko2ic/nerdtree-plugin-ag'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/ko2ic/nerdtree-plugin-ag
Ⅳ. 文档说明
# nerdtree-plugin-ag
The extended Plugin of nerdtree.
Features
This add (g)rep directory to the menu of nerdtree.
It execute ag in a selected directory on tree.
We can use the options in the same way as always.
Please refer to the following.
NERDTree Menu. Use j/k/enter and the shortcuts indicated
==========================================================
> (g)rep directory
(a)dd a childnode
(m)ove the current node
(d)elete the current node
(r)eveal in Finder the current node
(o)pen the current node with system editor
(q)uicklook the current node
(c)opy the current node
Enter (the option) and the search pattern: -s HogePrerequisites
- nerdtree
https://github.com/scrooloose/nerdtree - install ag
https://github.com/ggreer/the_silver_searcher - install ag.vim
https://github.com/rking/ag.vim
Install
$ curl -fsSL https://raw.githubusercontent.com/ko2ic/nerdtree-plugin-ag/master/install.sh| sh