sponsor Vim development Vim logo Vim Book Ad

nerdtree-ack : NERDtree + ack.vim

 script karma  Rating 22/8, Downloaded by 1918  Comments, bugs, improvements  Vim wiki

created by
Mohammad Satrio
 
script type
patch
 
description
This plugin add capability to search in folders via NERDtree. The search use ack.vim from the master branch (http://github.com/mileszs/ack.vim/tree/master).

This is ripped off from "NERDTree & ack" plugin (vimscript #3357) by Tudor Barbu. It just doesn't fit my taste, so, yeah.

## 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 ack.vim
2. Uses ack.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 `-i` params for case insensitive (e.g. `"control panel" -i`)
3. Uses ack.vim buffer behavior
 
install details
1. Install ack.vim first from http://github.com/mileszs/ack.vim/tree/master. Or you can use my branch (https://github.com/tyok/ack.vim) whose behavior is IMHO more NERDtree-friendly.
2. Copy the plugin file to your .vim/plugin directory
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
NERD_tree-ack.vim 0.1 2012-01-13 7.0 Mohammad Satrio Initial upload
ip used for rating: 44.222.104.49

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github