<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -33,7 +33,7 @@ afterwards.
 
 ## Usage ##
 
-    Ack [options] {pattern} [{directory}]
+    :Ack [options] {pattern} [{directory}]
 
 Search recursively in {directory} (which defaults to the current directory) for the {pattern}.
 
@@ -41,6 +41,9 @@ 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.
+
 **From the [ack docs](http://search.cpan.org/~petdance/ack/ack)** (my favorite feature):
 
 &lt;pre&gt;</diff>
      <filename>README.md</filename>
    </modified>
    <modified>
      <diff>@@ -1,19 +1,38 @@
-*ack.txt* Plugin that integrates ack with Vim
+*ack.txt*   Plugin that integrates ack with Vim
 
-Author:  Antoine Imbert &lt;antoine.imbert+ackvim@gmail.com&gt;        *ack-author*
+==============================================================================
+Author:  Antoine Imbert &lt;antoine.imbert+ackvim@gmail.com&gt;         *ack-author*
 License: Same terms as Vim itself (see |license|)
 
-INTRODUCTION                                                            *ack*
+==============================================================================
+INTRODUCTION                                                             *ack*
 
 This plugin is a front for the Perl module App::Ack.  Ack can be used as a
 replacement for grep.  This plugin will allow you to run ack from vim, and
 shows the results in a split window.
 
-Ack [options] {pattern} [{directory}]   Search recursively in {directory} (which defaults to
-                              the current directory) for the {pattern}.
+:Ack [options] {pattern} [{directory}]                                  *:Ack*
 
-Files containing the search term will be listed in the split window, along with
-the line number of the occurrence, once for each occurrence.  &lt;Enter&gt; on a line
-in this window will open the file, and place the cursor on the matching line.
+    Search recursively in {directory} (which defaults to the current
+    directory) for the {pattern}.  Behaves just like the |:grep| command, but
+    will open the |Quickfix| window for you.
+
+:AckAdd [options] {pattern} [{directory}]                            *:AckAdd*
+
+    Just like |:Ack| + |:grepadd|.  Appends the |quickfix| with the results
+
+:LAck [options] {pattern} [{directory}]                                *:LAck*
+
+    Just like |:Ack| + |:lgrep|.  Searches, but opens in |location-list|
+
+:LAckAdd [options] {pattern} [{directory}]                          *:LAckAdd*
+
+    Just like |:Ack| + |:lgrepadd|.  Searches, but appends results to
+    |location-list|
+
+Files containing the search term will be listed in the split window, along
+with the line number of the occurrence, once for each occurrence.  &lt;Enter&gt; on
+a line in this window will open the file, and place the cursor on the matching
+line.
 
 See http://search.cpan.org/~petdance/ack/ack for more information.</diff>
      <filename>doc/ack.txt</filename>
    </modified>
    <modified>
      <diff>@@ -3,13 +3,44 @@
 &quot; On Ubuntu:
 &quot;   sudo apt-get install ack-grep
 &quot;   ln -s /usr/bin/ack-grep /usr/bin/ack
-&quot;
+&quot; With MacPorts:
+&quot;   sudo port install p5-app-ack
+
+let g:ackprg=&quot;ack\\ -H\\ --nocolor\\ --nogroup&quot;
+
 function! Ack(args)
     let grepprg_bak=&amp;grepprg
-    set grepprg=ack\ -H\ --nocolor\ --nogroup
+    exec &quot;set grepprg=&quot; . g:ackprg
     execute &quot;silent! grep &quot; . a:args
     botright copen
     let &amp;grepprg=grepprg_bak
 endfunction
 
+function! AckAdd(args)
+    let grepprg_bak=&amp;grepprg
+    exec &quot;set grepprg=&quot; . g:ackprg
+    execute &quot;silent! grepadd &quot; . a:args
+    botright copen
+    let &amp;grepprg=grepprg_bak
+endfunction
+
+function! LAck(args)
+    let grepprg_bak=&amp;grepprg
+    exec &quot;set grepprg=&quot; . g:ackprg
+    execute &quot;silent! lgrep &quot; . a:args
+    botright lopen
+    let &amp;grepprg=grepprg_bak
+endfunction
+
+function! LAckAdd(args)
+    let grepprg_bak=&amp;grepprg
+    exec &quot;set grepprg=&quot; . g:ackprg
+    execute &quot;silent! lgrepadd &quot; . a:args
+    botright lopen
+    let &amp;grepprg=grepprg_bak
+endfunction
+
 command! -nargs=* -complete=file Ack call Ack(&lt;q-args&gt;)
+command! -nargs=* -complete=file AckAdd call AckAdd(&lt;q-args&gt;)
+command! -nargs=* -complete=file LAck call LAck(&lt;q-args&gt;)
+command! -nargs=* -complete=file LAckAdd call LAckAdd(&lt;q-args&gt;)</diff>
      <filename>plugin/ack.vim</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>890cdef0f34b8351cd3e6e9d6711865237df0722</id>
    </parent>
  </parents>
  <author>
    <name>K. Adam Christensen</name>
    <email>pope@shifteleven.com</email>
  </author>
  <url>http://github.com/mileszs/ack.vim/commit/3afbf327faa0afaf45e42f1d2724e4a92a6459d2</url>
  <id>3afbf327faa0afaf45e42f1d2724e4a92a6459d2</id>
  <committed-date>2009-02-26T14:44:42-08:00</committed-date>
  <authored-date>2009-02-26T14:44:42-08:00</authored-date>
  <message>Added AddAdd, LAck, and LAckAdd commands.

I did this to mirror the other functions of :grep, namely :grepadd,
:lgrep, and :lgrepadd</message>
  <tree>a8243367debb2d635840c5cc87612d3f94718da3</tree>
  <committer>
    <name>K. Adam Christensen</name>
    <email>pope@shifteleven.com</email>
  </committer>
</commit>
