Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Better help for AckAdd, LAck, LAckAdd

  • Loading branch information...
commit 89a0991364f1c83e680faea438220282b900d689 1 parent b92e4c8
@mileszs mileszs authored
Showing with 7 additions and 6 deletions.
  1. +1 −2  README.md
  2. +6 −4 doc/ack.txt
View
3  README.md
@@ -57,8 +57,7 @@ Files containing the search term will be listed in the split window, along with
the line number of the occurrence, once for each occurrence. [Enter] on a line
in this window will open the file, and place the cursor on the matching line.
-Just like where you use :grep, :grepadd, :lgrep, and :lgrepadd, you can use
-:Ack, :AckAdd, :LAck, and :LAckAdd respectively.
+Just like where you use :grep, :grepadd, :lgrep, and :lgrepadd, you can use `:Ack`, `:AckAdd`, `:LAck`, and `:LAckAdd` respectively. (See `doc/ack.txt`, or install and `:h Ack` for more information.)
**From the [ack docs](http://search.cpan.org/~petdance/ack/ack)** (my favorite feature):
View
10 doc/ack.txt
@@ -19,7 +19,8 @@ shows the results in a split window.
:AckAdd [options] {pattern} [{directory}] *:AckAdd*
- Just like |:Ack| + |:grepadd|. Appends the |quickfix| with the results
+ Just like |:Ack|, but instead of making a new list, the matches are
+ appended to the current |quickfix| list.
:AckFromSearch [{directory}] *:AckFromSearch*
@@ -27,12 +28,13 @@ shows the results in a split window.
:LAck [options] {pattern} [{directory}] *:LAck*
- Just like |:Ack| + |:lgrep|. Searches, but opens in |location-list|
+ Just like |:Ack| but instead of the |quickfix| list, matches are placed in
+ the current |location-list|.
:LAckAdd [options] {pattern} [{directory}] *:LAckAdd*
- Just like |:Ack| + |:lgrepadd|. Searches, but appends results to
- |location-list|
+ Just like |:AckAdd| but instead of the |quickfix| list, matches are added
+ to the current |location-list|
:AckFile [options] {pattern} [{directory}] *:AckFile*
Please sign in to comment.
Something went wrong with that request. Please try again.