https://github.com/mortonfox/nerdtree-ag
NERDTree plugin to search under the selected path using ag.vim
https://github.com/mortonfox/nerdtree-ag
nerdtree search vim
Last synced: about 1 year ago
JSON representation
NERDTree plugin to search under the selected path using ag.vim
- Host: GitHub
- URL: https://github.com/mortonfox/nerdtree-ag
- Owner: mortonfox
- License: mit
- Created: 2016-07-19T22:50:13.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-07-20T05:18:16.000Z (almost 10 years ago)
- Last Synced: 2025-02-14T01:18:58.986Z (over 1 year ago)
- Topics: nerdtree, search, vim
- Language: VimL
- Size: 11.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# nerdtree-ag
## Introduction
ag\_path is a [NERDTree](https://github.com/scrooloose/nerdtree)
plugin that adds a menu item to search for a keyword or regex under the
selected path using [ag.vim](https://github.com/rking/ag.vim).
## Installation
### Pathogen
Use the following commands:
cd ~/.vim/bundle
git clone https://github.com/mortonfox/nerdtree-ag.git
### Vundle
Add the following to your vimrc:
Plugin 'mortonfox/nerdtree-ag'
Install with ```:PluginInstall```.
### Manual Installation
Copy ```ag_path.vim``` to ```~/.vim/nerdtree_plugin/``` (*nix)
or ```~/vimfiles/nerdtree_plugin``` (Windows).
## Usage
In the NERDTree window, select the desired folder and then type ```m```
and ```g```. Enter a keyword or regex at the prompt to get a quickfix list of
ag.vim search results.