Questions tagged [helm]
Helm is an incremental completion and narrowing framework for Emacs. It is available for installation from MELPA.
455
questions
1
vote
1
answer
14
views
Helm: ignore *~/some/path/to/a/file output* buffers
In my *helm for files* buffer are listed buffers of the form *~/some/path/to/a/file output* and I'd like to hide them thanks to helm-boring-file-regexp-list. My current attempt with the setting below ...
1
vote
0
answers
44
views
Enabling helm interferes with R/ESS
I have helm enabled in an Org file that init.el calls. The code looks like the following:
(use-package helm
:config (require 'helm-config))
(global-set-key (kbd "M-x") #'helm-M-x)
(...
0
votes
0
answers
27
views
Helm with Tramp does not show directory content
This is what I do:
helm-find-files
enter my remote: /ssh:pudu:, enter
emacs asks for my remote password
Issues:
no file suggestions in the *helm find files* buffer (totally empty)
~ does not work
...
0
votes
0
answers
28
views
Helm get current user input
I am trying to write a custom source for Helm. This source, however, should also give me the opportunity to create new objects, and not just select between those existing.
The problem is, when what ...
0
votes
0
answers
13
views
Quick pattern expansion when using Tramp with Helm?
I find the "quick pattern" expansion in helm-find-files really helpful, e.g., the ability to just put a ~/ at the end of the pattern to jump to home or ending with / with to jump to the root....
0
votes
1
answer
31
views
How can I replicate Spacemacs's evil bindings on the helm-find-files / helm switch to buffer modes?
I'm moving away from Spacemacs to vanilla Emacs + Evil and I liked the C-hjkl shortcuts that were available while navigating helm buffers (C-h / C-l moved up/down directories in helm find files, C-j ...
0
votes
1
answer
72
views
"Opening directory permission denied `/Users/myname/Documents/'" in Spacemacs on MacBook Air M1
I am using Spacemacs and I am getting this error in HELM when I am trying to go in the Documents folder via HELM on my MacBook Air M1 computer:
@@@@file-error: Opening directory permission denied `/...
0
votes
1
answer
23
views
How to shorten the C-x C-b M-a C-s key binding bound to helm-mini Multi occur submode?
I have currently bound C-x C-b to helm-mini. While running helm-mini, I can then type M-a C-s followed by typing in more characters which narrows down the candidates to those buffers that match on ...
0
votes
1
answer
26
views
How to show a list in helm mode
Suppose, we have a custom list we want to show to the user and allow him to select a value. I tried to use helm, but couldn't figure out how to do it:
(helm :sources '(("aaa" . 1), ("...
2
votes
3
answers
201
views
Error running timer: (void-function helm-completion--flex-transform-pattern)
Since a recent packages update (and still with the latest helm version 20220114), (almost) each time I try to use helm-for-files, I get the following error:
Error running timer: (void-function helm-...
0
votes
0
answers
30
views
Regexp syntax for helm-ag -G
I just noticed that
ag -GFilenamePattern\.\*ext ContentPattern
works from command line, but in helm-ag calling it with -GFilenamePattern\.\*ext ContentPattern does not (while -GFilenamePattern ...
0
votes
1
answer
34
views
How to preserve helm project search results to iterate through them
I am using spacemacs with vim bindings and doing a search project-wide for something like while \( with SPC s p. I get the results in a helm buffer and can enter transient state to navigate them, but ...
0
votes
0
answers
18
views
Enter Helm transient state with ESC
I'm using spacemacs with vim bindings and would like to enter Helm transient state with ESC as opposed to M-SPC.
This would closely mimic entering normal mode, if you think of Helm starting you in ...
0
votes
1
answer
76
views
How can I make `helm-google-suggest` use DuckDuckGo?
I quite like helm-google-suggest, but I would like it even more if it didn't connect to Google. Once you have your candidate, searching for it in a better search engine is as simple as this:
(setq ...
1
vote
0
answers
19
views
Can I limit refile targets with helm using a regular expression?
I would like to be able to use regular expressions in helm when selecting a refile target following an org-refile call. For example, if my list of targets includes
1. H1/
1. H1/P1/
1. H1/P1/C1/
1. H1/...
0
votes
2
answers
50
views
How to display the minibuffer above candidates in helm
I am looking for configuration that displays the minibuffer in which to type input above matching candidates in a helm buffer.
I went through each helm variable and the closest named variable was helm-...
0
votes
1
answer
75
views
How do I make `helm` save search results in a grep buffer?
I do helm-find-files (C-x c C-x C-f>), Tab, "Grep current directory with AG" (M-g a), enter pattern, Tab, "Save results in grep buffer" (F3). Now, how do I make M-g M-n/M-g M-p ...
0
votes
1
answer
56
views
How to lists all shortcuts available for currently active major mode? [duplicate]
I simply want to get the list of shortcuts.
For example, when my cursor is in Treemacs, I press '?' and then mini-buffer opens which show all available shortcuts.
But same thing isn't true for other ...
0
votes
0
answers
9
views
How to open `helm-all-mark-rings` in split window, while keep `helm-for-files` to open in same window
helm-for-files opens in full buffer, which I wanted to see it in full window (same window). I believe it is opening in full window is due to following lines according to How to configure a command to ...
2
votes
2
answers
382
views
Is it problematic to use simultaneously Helm and Ido-mode? What are the consequences?
I am new to Emacs. When I started using it 2 months ago, a co-worker suggested using helm which definitely improved my use of Emacs.
In addition, I have been slowly reading the book Mastering Emacs, ...
1
vote
1
answer
331
views
Magit becomes very slow in spacemacs
I am a on and off spacemacs user for a long time but I have recently started working on some bigger projects and so I started investing some more time into improving my workflow and in particular I ...
2
votes
2
answers
210
views
Helm installing issues
I am trying following a book (Mastering Emacs) and right now stuck on a section about working with Helm. I tried to install through various means, listed there, and found online, my last attempt was ...
0
votes
1
answer
35
views
Can't use helm `find-file` action with key binding
I have the following code that I found here (note that the buffer version works fine):
(use-package helm)
(use-package ace-window)
(defun helm-find-ace-window (file)
"Use ‘ace-window' to ...
0
votes
0
answers
24
views
How to speed up function in helm-dependent library
I have found that the following function is taking up a massive amount of time (75%-85%) in a library I am working on. What is slowing it down? It uses cl-loop, but I don't think that is what is ...
1
vote
1
answer
85
views
Color settings with helm
I use helm a lot. I have a problem setting colors. In my init.el I have
(require 'helm)
(require 'helm-config)
;; change active line color
(set-face-attribute 'helm-selection nil
:...
1
vote
0
answers
10
views
Is there a way to limit Helm matches from all sources?
I don't mean helm-candidate-number-limit, because it apparently limits candidates from the individual sources, so if you set it to 100 and have two sources and the first source returns 70 candidates ...
1
vote
1
answer
146
views
How to turn on "helm-mode" for a specific function?
The context
I've defined a big set of yasnippet snippets and sometimes I forget
the shortcut for those snippets. I've found out recently that
the function yas-insert-snippet can be used to insert a ...
0
votes
0
answers
79
views
SPC i s not working
As if there was any need to make it clear, I am quite a noob when it comes to spacemacs. I am running into the following issue: I am trying to follow some tutorials online. In various of them, SPC i s ...
0
votes
1
answer
105
views
How to make helm follow and show files as I type?
My Emacs used to have the ability to display the help buffer of each function everytime I was scrolling through M-x function candidates. How to enable it again? Thanks!
2
votes
2
answers
189
views
Save current file with a slightly different name in Helm
This is the same question as Save current file with a slightly different name, but for Helm. (The top answer given for the original question doesn't work in Helm, sadly: M-n (next-history-element) ...
0
votes
0
answers
61
views
How to use helm to search a buffer?
I would like to use the helm machinery to search "live" a buffer's lines.
Is this possible? If not how would I go about figuring out how to implement this?
0
votes
1
answer
38
views
Helm-find-files on org link
When we call helm-find-files on an org link or path, helm is smart enough to autocomplete the path, making it easy for us to navigate from there. Unfortunately, if the link starts with [[file:./this/...
2
votes
0
answers
108
views
helm-ag vs helm-do-ag
What are the differences between helm-ag and helm-do-ag from a user perspective? I see that helm-do-ag shows the results immediately and helm-ag not. But are there other differences and when is it ...
2
votes
0
answers
97
views
Remember previous text searches history with positions after further text search
TL;DR: Is it possible to go back and forth between different helm-ag searches, and keep the last visited position in each of them?
Using Spacemacs’ spacemacs/helm-project-smart-do-search (SPC / ...
0
votes
1
answer
44
views
How can helm be configured to return a nil result when the user cancels?
This function selects one of the items in projectile's project list, but when I cancel the select using Ctrl-G an item is still returned. Whatever candidate the selection is on is returned even if the ...
0
votes
0
answers
48
views
How can I enable a major mode within a helm buffer?
I am trying to get org-mode syntax within a helm buffer. I want the candidates to render using org-mode syntax. How can I do this?
0
votes
1
answer
139
views
How to sort by KIND in helm-find-files (Emacs)
I know there is such a variable as helm-ff-initial-sort-method.
However, it does not include KIND as a sorting method.
Anybody know how to sort files in helm-find-file by KIND?
Thank you!
1
vote
1
answer
118
views
Efficient way to insert multiple file links (residing in the same directory) into a org file with helm
Suppose I edit an org-file, say /foo/bar/file.org and I want to insert links to multiple files living in another path, say /another/path/to/files/.
A stupid way to do this would be to call helm-find-...
0
votes
1
answer
78
views
Make org mode use helm-find files when inserting local file links
How can I achieve that org mode uses helm-find-files if I insert a link to a local file via C-u C-c C-l?
1
vote
0
answers
65
views
helm-ag (or equivalent) open selection in existing window?
If you run helm-ag (I typically do this with helm-projectile-ag, but I think it should be similar) and select a match, the file / buffer opens in the last used window.
My question is this: If a you ...
0
votes
1
answer
384
views
Getting Helm describe-function/describe-variable’s secondary to work like helm-M-x?
When you use Helm for M-x, you can quickly check the documentation for an interactive command before calling it, it using the secondary key (usually C-z or C-j; I use the latter below). It brings up a ...
0
votes
1
answer
351
views
Differences between "helm-follow-mode" and "follow-mode"
"helm-follow-mode" vs. "follow-mode"
Basically: what is the difference between their behaviours?
1
vote
0
answers
122
views
Insert org mode links via helm-mini or refile (or equivalently using e.g. company mode)
I often want to insert a link to another file (that would be easily accessible via helm-mini or refile). I have to do this long dance of going into the target file (and potentially headline), storing ...
1
vote
0
answers
86
views
M-x man: Can't find the %s manpage caused by loading helm
I'm trying to figure out why Emacs won't display some man pages with my configuration using M-x man. It, however, does display them with emacs -Q. Not all man pages are affected. I can view the man ...
0
votes
0
answers
67
views
C-h v gives " Symbol’s value as variable is void: default
I'm running 26.1, I don't believe I have anything weird help-related in my .emacs.
When I try to get help on a variable, C-h v, it tells me Symbol’s value as variable is void: default.
Any hints of ...
0
votes
1
answer
178
views
How to find a file recursively on Microsoft Windows with findutils (gnu find) installed?
I'm trying to find file recursively from default-directory with helm-find (C-x c /). It works out of box in linux.
I tried setting find-program like (I have git bash installed)
(setq find-program &...
1
vote
1
answer
116
views
Use helm in specific modes and not for other buffers in different mode
I recently started using lsp-java and one of the packages it suggests is helm.
The suggested changes to the .emacs file to do this is:
(use-package helm-lsp)
(use-package helm
:config (helm-mode))
...
1
vote
0
answers
83
views
Show custom key-bindings in the list of commands
I'm using merlin in Emacs, and in my init.el file I have the following :
(global-set-key (kbd "C-c t") 'merlin-type-expr)
But when I press M-x and type merlin to show the list of commands (...
0
votes
0
answers
32
views
helm: find-file it is possible to ignore `[?] ...` during iteration
I am using helm when I am using Find Files (ctrl+c ctrl+f)
(require 'helm)
(require 'helm-config)
(define-key helm-map (kbd "<tab>") 'helm-next-line) ; rebind tab to run persistent action
(...
0
votes
1
answer
80
views
How to go up one level in helm find files
With C-x C-f Helm tells me I can go up one level with C-| or possibly C-I.
However, when I try either, I get the following behavior instead:
C-I
Selects the highlighted file. It does not go up ...