]> code.delx.au - gnu-emacs-elpa/blob - packages/ack/README
New command ack-yank-symbol-at-point and bind it to M-Y
[gnu-emacs-elpa] / packages / ack / README
1 This package provides an Emacs interface to the command-line tool ack.
2
3 From <http://betterthangrep.com/>: ack is a tool like grep, designed
4 for programmers with large trees of heterogeneous source code. ack is
5 written purely in Perl, and takes advantage of the power of Perl's
6 regular expressions.
7
8 Usage:
9 Type `M-x ack' and provide a pattern to search.
10 Type `C-u M-x ack' to search from current project root.
11 Type `C-u C-u M-x ack' to interactively choose a directory to search.
12
13 While reading ack command and args from the minibuffer, the following
14 key bindings may be useful:
15
16 - `M-I' inserts a template for case-insensitive file name search
17 - `M-G' inserts a template for `git grep', `hg grep' or `bzr grep'
18 - `M-Y' inserts the symbol at point from the window before entering
19 the minibuffer
20 - `TAB' completes ack options
21
22 This package does not require `--nogroup' nor `--noheading'.
23 Coloring is performed using the standard library ansi-color.el.
24
25 Screenshots:
26 http://i.imgur.com/mrk8k.png
27 http://i.imgur.com/a72Ap.png
28 http://i.imgur.com/U2vFz.png
29
30 Bugs:
31 https://github.com/leoliu/ack-el/issues
32
33 ack.el was written by Leo Liu, with contributions from Phillip Lord.