8

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. TL;DR It's hard. :) Research First, let's think a bit. helm-projectile-find-file is definitely calling find-file or some similar function at some point. You ...


5

Set projectile-completion-system to helm: (setq projectile-completion-system 'helm) Or try enabling helm-projectile like this: (helm-projectile-on)


4

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.


4

Found it. The setting is (setq helm-ag-insert-at-point 'symbol) Reference: https://github.com/syl20bnr/spacemacs/issues/1848#issuecomment-108973505


3

It uses a cache that you can invalidete with M-x projectile-invalidate-cache. See chapter caching in this article for more information.


2

You have to press C-j or C-zto see the content of the thing under the selection.


2

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 ...


2

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.


2

Have you tried helm-projectile-switch-to-buffer?


2

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 ...


1

You have to add (customize-set-variable 'helm-ff-lynx-style-map t) in your .emacs.


1

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.


1

This seems to be due to a bug introduced recently in library async.el. It seems to affect Helm code (at least). See https://lists.gnu.org/archive/html/help-gnu-emacs/2019-10/msg00021.html.


1

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: https://github.com/ageldama/configs/blob/master/emacs/dot-emacs-2018#L252 (defun my-helm-projectile-rg--region-selection (old-fn &rest arguments) (let ((thing (thing-at-point 'symbol))) (if (null thing) (...


1

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 ...


1

Try helm-follow-mode, it should do the trick.


1

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: --style container will do the trick. Additional examples: --hidden search-pattern Will include hidden files during search for search-pattern --ignore=*.html ...


1

try ivy-mode, here is a grep example written by ivy-mode's developer. http://oremacs.com/2015/04/19/git-grep-ivy/ I turn to ivy-mode because helm is too slow.


1

I had many griefs with helm-git-grep and helm-ack but I did like the basic interface. I've since switched to helm-grepint. https://github.com/kopoli/helm-grepint


Only top voted, non community-wiki answers of a minimum length are eligible