diff options
author | Thierry Volpiatto <thierry.volpiatto@gmail.com> | 2020-05-31 07:53:21 +0200 |
---|---|---|
committer | Thierry Volpiatto <thierry.volpiatto@gmail.com> | 2020-05-31 08:19:05 +0200 |
commit | 6500dc4e6b433f90844e6008fd992c1d96a17548 (patch) | |
tree | 5e34d488fc3dc008a7b249703191016ed82b381b /helm-help.el | |
parent | 91f89aa37e6e1b35e46772b8e18cdadb2f312a44 (diff) |
Update AG command docstring and help (#2313)
* helm-grep.el (helm-grep-ag-command): Do it.
* helm-help.el (helm-grep-help-message): Do it.
Diffstat (limited to 'helm-help.el')
-rw-r--r-- | helm-help.el | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/helm-help.el b/helm-help.el index c8add82a..01e6a294 100644 --- a/helm-help.el +++ b/helm-help.el @@ -1317,11 +1317,15 @@ highlighted since there is no ~--color~-like option in GID itself. ** Tips -Helm-AG is different from grep or ack-grep in that it works on a directory and -not on a list of files. +Helm-AG is different from grep or ack-grep in that it works on a +directory recursively and not on a list of files. It is called +helm-AG but it support several backend, namely AG, RG and PT. +Nowaday the best backend is Ripgrep aka RG, it is the fastest and +is actively maintained, see `helm-grep-ag-command' and +`helm-grep-ag-pipe-cmd-switches' to configure it. You can ignore files and directories with a \".agignore\" file, local to a -directory or global when placed in the home directory. \(See the AG man page for +directory or global when placed in the home directory. (See the AG man page for more details.) That file follows the same syntax as `helm-grep-ignored-files' and `helm-grep-ignored-directories'. @@ -1330,7 +1334,8 @@ As always you can access Helm AG from `helm-find-files'. Starting with version 0.30, AG accepts one or more TYPE arguments on its command line. Helm provides completion on these TYPE arguments when available with your AG version. Use a prefix argument when starting a Helm-AG session to enable this -completion. +completion. See RG and AG man pages on how to add new types. + Note: You can mark several types to match in the AG query. The first AG versions providing this feature allowed only one type, so in this case only the |