Skip to content

taiansu/nerdtree-ag

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 

Repository files navigation

NERDtree + Ag.vim

This plugin add capability to search in folders via NERDtree. The search use ag.vim. The code is almost a copypaste from Mohammad Satrio's nerdtree-ack. But use the silver searcher instead of Ack.

Install

  • Install ag.vim

  • Install this plugin via your package manager (pathogen/vundle/VAM/plug-vim)

    or just put the plugin file in your .vim/plugin directory

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

No packages published

Languages

  • Vim Script 100.0%