Skip to content

rh-nanbu/nerdtree-ag

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

NERDtree + Ag.vim

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.

How to Install

  1. Install ag.vim first from https://github.com/epmatsw/ag.vim.
  2. Copy the plugin file to your .vim/plugin directory, or install via pathogen/vundle/VAM

How to Use

  1. Open NERDtree
  2. Point to a directory
  3. Press ms
  4. Enter search term (e.g. control\ panel -i)
  5. Profit!

Features

  1. Doesn't change current open buffers! This feature is what necessitate the use of latest ag.vim
  2. Uses ag.vim syntax:
    1. Use \ to write a space (e.g. control\ panel)
    2. Or enclose the term in quotes (e.g. "control panel")
    3. The default behavior is case sensitive. Use -i params for case insensitive (e.g. "control panel" -i)
  3. Uses ag.vim buffer behavior

About

NERDtree + ag.vim

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Vim Script 100.0%