Sam Halliday <
sam.ha...@gmail.com> writes:
> 1. can helm-locate be set up to respect .gitignore files? If not, how
> can I tell helm-locate how to ignore files and directories matching a
> pattern?
Customize `helm-boring-file-regexp-list'.
> 2. can I temporarily set the base directory for helm-locate?
Yes, from helm-find-files, use `C-u C-x C-f'.
See `C-c ?'.
> 3. is there a M-x command to do an rgrep? The documentation makes me
> go in through helm-find-file and then use the ACTION to select Grep
> with Prefix. I'd like a single command (again with a base directory
> that I can set) that I can invoke to start search inside files. Again,
> respecting .gitignore would be great.
Your friend is `C-c ?' which is the embeded help of most helm commands
(some that have not a specific help are actually using `C-h m', see
mode-line).
To answer you question, yes, from helm-find-files, use `C-s' on a file,
a set of file or a wildcard (e.g "*.el"), use `C-u C-s' for recursive
grep.
You can resume any helm grep session like any other helm session, see
`helm-resume', and you can also save your helm grep sessions with C-x
C-s.
You can use ack-grep as backend, see the documentation of relevant vars.
etc... etc...
> 4. I would like to rebind a different key to ACTION and get completion
> with TAB (e.g. same thing as what currently happens when I press the
> right arrow key). How can I do this?
Most sources in helm (at least the more important ones) have a keymap,
you can bind keys to these keymaps like you usually do in emacs.
Note that you have no TAB completion in helm ;-)
My configuration file for helm is here if that helps:
https://github.com/thierryvolpiatto/emacs-tv-config/blob/master/init-helm-thierry.el
--
Thierry
Get my Gnupg key:
gpg --keyserver
pgp.mit.edu --recv-keys 59F29997