This plugin add capability to search in folders via NERDtree. The search use ag.vim from the master branch (https://github.com/epmatsw/ag.vim). This is almost a copypaste from Mohammad Satrio's nerdtree-ack. But use the silver searcher instead of Ack.
- Install ag.vim first from https://github.com/epmatsw/ag.vim.
- Copy the plugin file to your
.vim/plugindirectory, or install via pathogen/vundle/VAM
- Open NERDtree
- Point to a directory
- Press
ms - Enter search term (e.g.
control\ panel -i) - Profit!
- Doesn't change current open buffers! This feature is what necessitate the use of latest ag.vim
- Uses ag.vim syntax:
- Use
\to write a space (e.g.control\ panel) - Or enclose the term in quotes (e.g.
"control panel") - The default behavior is case sensitive. Use
-iparams for case insensitive (e.g."control panel" -i)
- Use
- Uses ag.vim buffer behavior