|loomer 97f942a6d9 Rename FIF to "Find in Files"||7 months ago|
|LICENSE||1 year ago|
|README.md||1 year ago|
|ack||10 months ago|
|ackrc||10 months ago|
|init.lua||7 months ago|
This module allows searching in files via an external tool. In this case ack is used because it's cross-platform (only needs Perl) and pretty fast.
After the search is done the results will be displayed in TA via filtered list. Selecting an entry will open the file and go to the line number where the search term was found (if applicable).
The module comes with ack and an ackrc file which can be used to customize the search behavior. Note that the
--nogroup flag should not be turned off.
In your init.lua or keys.lua:
tr_fif = require("tr_fif") keys.caf = tr_fif.fif
Perl is needed. On Linux and OSX it should be installed already. If you're on Windows you can use a Perl distro like Strawberry Perl