ags_path is a NERDTree plugin that adds a menu item to search for a keyword or regex under the selected path using vim-ags.
Use the following commands:
cd ~/.vim/bundle
git clone https://github.com/mortonfox/nerdtree-ags.git
Add the following to your vimrc:
Plugin 'mortonfox/nerdtree-ags'
Install with :PluginInstall
.
Copy ags_path.vim
to ~/.vim/nerdtree_plugin/
(*nix)
or ~/vimfiles/nerdtree_plugin
(Windows).
In the NERDTree window, select the desired folder and then type m
and s
. Enter a keyword or regex at the prompt to get a vim-ags search
results window.