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 ...
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 ...
There is no official support for that in projectile (I think) but, you can use dir-local-variables and a little bit of hacking code like this:
(defun open-local-file-projectile (directory)
"Helm action function, open projectile file within DIRECTORY
specify by the keyword projectile-default-file define in
(let ((default-file (...
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.
This worked fine for me when I was using helm-ag:
(defun mu-helm-ag-thing-at-point ()
"Search the symbol at point with `helm-ag'."
(let ((helm-ag-insert-at-point 'symbol))
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