VIM: ack


Iā€™m going to start doing a quick summary of the vim plugins I have in my vimrc.



Search for PATTERN in each source file in the tree from the current directory on down. If any files or directories are specified, then only those files and directories are checked. ack may also search STDIN, but only if no file or directory arguments are specified, or if one of them is ā€œ-ā€œ.

Requires ack-grep package on Ubuntu

:Ack [options] {pattern} [{directories}]


:Ack -i IgNoReCaSe
:Ack -l "filename with match in it"
:Ack --json "^matches json$"