Questions tagged [helm-projectile]
The helm-projectile tag has no usage guidance.
39
questions
0
votes
2
answers
34
views
Helm-projectile comes with docker-tramp, and haven't figured a way to solve it
I use Doom Emacs. When starting with an empty configuration and adding the following line:
(use-package! helm-projectile
:custom
(helm-projectile-on))
Save it and restart Emacs, then I get ...
0
votes
1
answer
69
views
How to use regular expressions with helm-projectile-grep?
I would like to find all strings in files matching the pattern foo_*_bar. I know that one can use \s to match empty characters. What's the pattern for zero or more characters? Could not find it by ...
0
votes
1
answer
26
views
helm-projectile-recentf, Exclude Currently Open Buffer
When I use helm-projectile-recentf, it shows the currently open buffer in the list. Any way to not have it do that?;)
Also, it seems to look at file modification, so if I just had a buffer open and ...
0
votes
0
answers
10
views
helm-projectile-recentf, Exact Match
If I try to hit M-r after I've been shown some results from helm-projectil-recentf, I get this:
Debugger entered--Lisp error: (cl-assertion-failed ((and (file-exists-p file) (string-match (image-file-...
0
votes
0
answers
30
views
helm-projectile-find-file, Exact Match
When using the other command, I can use M-r to restrict results to exact matches, but is this supposed to work with helm-projectile-find-file as well?;)
I get an error, when trying to do that with ...
0
votes
0
answers
27
views
helm-projectile-switch-to-buffer, See Full Filename
When I issue the command to switch buffers inside a projectile, the selection window truncates the filename, because it also lists file size and file type and the whole path in a column.
How can I ...
0
votes
0
answers
53
views
helm-projectile-[grep,ag] in all known projects
helm-projectile-[grep,ag] works great, but how can I grep all known projects?;)
Is there a function already for that?
0
votes
1
answer
31
views
helm-projectile-switch-project MRU
When I issue the command helm-projectile-switch-project, can I have it open the Most Recently Used file in that project, instead of asking me for a file?
If the file is already open, switch to that ...
2
votes
1
answer
811
views
Getting error "Cannot open load file: No such file or directory: helm-config" suddenly after upgrading to MacOS 13.1
I recently upgrade my Macbook Air to MacOS Ventura 13.1. I also updated X-Code, command line tools, brew (upgrade and update). Now I'm experiencing issues with my .emacs.d/init.el and .emacs.d/common....
0
votes
0
answers
21
views
What customizations are available for helm's matching?
I've been looking for a list of options that control how helm matches and sorts the "source" list.
In today's example, I was using helm-projectile-find-file looking for gif.rb and Helm takes ...
0
votes
0
answers
13
views
How to create commands to search specific kinds of files using `helm-projectile`?
I want to be able to search python, typescript, and markdown files separely with helm-projectile. Is there a way to create distinct keybindings to search the contents of files with each extension.
...
0
votes
1
answer
141
views
Recreate spacemacs' ivy/projectile 'SPC P SPC' binding for helm/projectile
I recently switched from ivy to helm in spacemacs as my project search/management package.
In ivy, there is a keybinding for SPC p SPC that does a search for files in the project (by file name). There ...
2
votes
1
answer
692
views
Can I make projectile open a default file when I switch to a project?
I'm using helm-projectile in spacemacs.
SPCpp runs helm-projectile-switch-project, which gives me a helm completion buffer for projectile projects.
When I choose a project and hit enter, I then get a ...
0
votes
0
answers
100
views
How to make helm-projectile-rg list files in relative to project?
Whenever I use helm-projectile-rg I see the list of files in relative to the current file:
../../../../../../project_dir/test/test1/filex.cpp "match"
Is there a way to have it show files in ...
0
votes
1
answer
55
views
navigate into the project
I have lost my emacs config and I try to reconfigure my .init.el on my work station.
I have install helm and defined :
(global-set-key (kbd "C-x C-f") 'helm-find-files)
I have the good windows, but ...
1
vote
2
answers
187
views
Installing helm-projectile results in "mapc: Lisp nesting exceeds ‘max-lisp-eval-depth’"
Context
Linux Mageia 7.
Emacs 26.3 (vanilla install).
Problem
Reproducible steps:
(Re)Move the content of ~/.emacs.d/elpa.
Start emacs with no configuration (emacs -Q).
In the *scratch* buffer, ...
2
votes
3
answers
202
views
helm-ag , use word at point as input conditionally
I'd like to create two keybindings for helm-do-ag-project-root or helm-project-ag
where one would have (setq helm-ag-insert-at-point nil)
and one would have (setq helm-ag-insert-at-point 'symbol)
So ...
1
vote
0
answers
106
views
How to make `helm-projectile-grep` do a recursive search?
I use helm with projectile and treemacs, how do I make helm-projectile-grep command to search in all project folders recursively starting at the project root. According to this page helm-projectile ...
2
votes
1
answer
358
views
Helm/Projectile outside a project
I use the packages Helm and helm-projectile for navigating in Emacs. I ran into problems, when I use projectile-helm inside Helm, and I'm able to reproduce this with a empty Emacs init file. The ...
1
vote
0
answers
480
views
Tools for refactoring c++ code
What tools do you use to refactor c++ code? For example, how do you rename a variable or function that is spread across files?
If the problem isn't language specific, there are text-based tools that ...
2
votes
1
answer
449
views
Setting C-p as helm-projectile-find-file
I put this at the very end of my config file:
(global-set-key (kbd "C-p") 'helm-projectile-find-file)
On Emacs start I can see that it is getting assigned using C-h k C-p. Then when I actually load ...
3
votes
2
answers
606
views
helm-projectile-ag use thing-at-point as input?
I want to use the current word as the input when I do helm-projectile-ag. That saves me the typing work. I didn't see this option in customize.
How would I implement that?
2
votes
3
answers
560
views
How to override projectile keybind for custom one?
I am currently using emacs out of prelude and with helm-projectile enabled in my setup.
Recently I added helm-ls-git to my stack too and noticed that the function helm-browse-project is more ...
2
votes
1
answer
2k
views
helm-projectile find file doesn't ignore some files
I'm using helm-projectile in spacemacs. I want helm-projectile to ignore all the files in .stack-work directory when running helm-projectile-find-file.
I added .stack-work in projectile-globally-...
4
votes
0
answers
1k
views
Projectile not remembering remote projects
I'm using spacemacs and regularly use Tramp (via /sshx:) to open files, once I've opened a file in Tramp I can use projectile without any problems.
However, projectile doesn't remember these projects ...
3
votes
1
answer
90
views
Does the `helm-projectile` package use an index?
Do the commands of the helm-projectile package consult an index, or do they scan the entire project tree every time they are invoked?
In case they use an index: when is this index created and updated?...
5
votes
2
answers
648
views
`projectile-find-file` completions display in the mini-buffer rather than in a separate `helm` window
My Emacs system satisfies the following three conditions:
The Emacs packages helm and helm-projectile are installed on it.
The directory ~/MyProj/ is recognized as a projectile project (it is a Git ...
8
votes
1
answer
572
views
how to helm-projectile-grep for exact string?
How can I direct helm-projectile-ag and helm-projectile-grep to search for an exact string?
If I enclose a string in quotes, I get no results. If I don't, I get fuzzy matching.
3
votes
1
answer
1k
views
Projectile: show project open buffers when switching project
I have a very large project and generally I work on multiple related projects simultaneously. While switching project I have to type full name everytime (multiple similar named files under different ...
0
votes
2
answers
227
views
helm find projectile file: how to view the file content when choose the file?
when run the command of helm-find-projectile-file, it will show a file lists in the mini buffer, and then I can use up and down key to select the file I want to view. But is it possible to view the ...
4
votes
1
answer
241
views
Open files in git repo that have been edited since a previous commit or branch
Is there a way to provide a list of files that have been edited since a previous commit or branch with helm and projectile integration?
The use case is as follows:
Create feature branch feat-my-...
1
vote
0
answers
199
views
Error in using "helm-projectile-find-file"
This is my config in init.el:
(require 'helm-projectile)
(projectile-global-mode)
(setq projectile-completion-system 'helm)
(helm-projectile-on)
(setq projectile-indexing-method 'alien)
(setq ...
7
votes
2
answers
1k
views
Narrow helm-projectile-grep to specific file type
I usually find myself when using helm-projectile-grep to narrow my search down to a specific file type.
For example: I do a search for "container" but only want to show the results in the .style ...
1
vote
0
answers
62
views
"stdin isn't a terminal" with helm-projectile?
Opening up helm-projectile-find-file keeps showing me this error:
screenshot http://zc.d.pr/16fh0/1Ryb9GGB+
Anyone know how to get rid of this? Or what's causing it?
Emacs config here: https://...
1
vote
2
answers
1k
views
Helm grep is too slow
Whenever I use helm-grep, helm-ag, or helm-ack, some results show up faster than others. In some cases the search completes after several minutes. Is it because I have to create some sort of index? If ...
1
vote
0
answers
225
views
How to keybind helm-projectile-other-file
I like using helm-projectile-find-other-file to switch between header and cpp files, for example. I tried to keybind it to C-c h with the following in my .emacs:
(global-set-key (kbd "C-c h") 'helm-...
4
votes
1
answer
109
views
Emacs hashtag bracket(#[]) notation
When choosing a project using helm-projectile-switch-project one can type C-d to run dired on that project root directory.
Running describe-key on C-d returns the following function:
#[nil "\300\301!...
2
votes
1
answer
449
views
helm-projectile with elscreen
I'm on day 2 of my switch from 15 years of Vim to Evil Emacs -- so I'm just starting learning how to customize emacs and how to read elisp.
Question 1
I'm trying to use helm-projectile-find-file ...
4
votes
0
answers
381
views
Helm-projectile doesn't ignore files
I'm using helm with projectile and trying to exclude various files from the output that are project specific (i.e with .projectile files, not globally variable). The problem is that it never works for ...