Okay, let me share a bit of the process of arriving at the solution to Question #1 (which should also resolve #2).
I'm going to assume you know Emacs key notation and at least a little about Elisp.
It's hard. :)
First, let's think a bit. helm-projectile-find-file is definitely calling find-file or some similar function at some point. You ...
This is the printed notation of compiled emacs lisp byte-code, you can read more about it in the manual.
This post will probably be more helpful with understanding what is represented in the vectors you see.
Here's a complete working solution with an example keybinding for spacemacs.
The master branch is hard-coded in as the default branch to compare for file
changes against. If you want to diff against the nearest parent branch you
would need something like this from https://stackoverflow.com/questions/10641361
git diff --name-only <notMainDev> $(git ...
Fuzzy matching should be switched off by default, but if you have a space character in your pattern it will turn fuzzy matching on.
If your query didn't have spaces, check your emacs config and make sure helm-ag-fuzzy-match isn't set to t.
For space characters in your pattern you should use the regex \s.
The problem is that minor modes, in this case Evil, take precedence over the global keymap. One solution is to add the binding directly to evil-normal-state-map, as in
(define-key evil-normal-state-map (kbd "C-p") 'helm-projectile)
You can do the same for the insert/visual/etc maps if you'd like.
Alternatively, you can use the bind-key* macro from the ...
I fixed this issue by commenting out all the lines related to helm in my config, launching emacs and installing the package I needed, and once the package was installed, uncommenting the lines in my config.
IMHO, the helm-ag-insert-at-point is only applicable to helm-ag, not helm-projectile-ag.
I think you should use following elisp snippet:
(defun my-helm-projectile-rg--region-selection (old-fn &rest arguments)
(let ((thing (thing-at-point 'symbol)))
(if (null thing)
if you want to use .projectile list of ignored files, you should try with
(setq projectile-enable-caching t)
(setq projectile-indexing-method 'native)
... inside your config file. It looks like ignoring by .projectile list is currently working with native indexing method.
More details: in github .
With alien method .gitignore is working well (but alien is ...
It is possible with the helm-ag package, which passes every "--" prefixed fields to ag as CLI arguments.
To filter by file type use its extension as an argument. So calling helm-projectil-ag with:
will do the trick.
Will include hidden files during search for search-pattern