Questions tagged [helm]
Helm is an incremental completion and narrowing framework for Emacs. It is available for installation from MELPA.
464
questions
0
votes
1
answer
21
views
How can I disable helm file completion for interactive shell command?
I have turned on (helm-mode 1) and selectively turned it off for find-file for default emacs behavior, which I prefer. I would also like to restore non-helm behavior for file completion when invoking ...
0
votes
0
answers
11
views
How do I correctly yank multiple lines using helm?
I'm fairly new to emacs and using Helm. I'm having trouble in the sense that I often kill expressions spanning multiple lines that I want to yank later, but then kill some
text I actually just want to ...
0
votes
0
answers
11
views
Case Insensitive Search with helm-projectile-ag (helm-case-fold-search)
I'm unable to search with case insensitivity, using helm-projectile-ag.
I've tried to set helm-case-fold-search to t, but it doesn't seem to use that for this async search.
Any pointers as to how I ...
0
votes
1
answer
25
views
Error when using helm setup with use-package
My current helm configuration is
(use-package helm
:bind (("M-x" . helm-M-x)
("C-x b" . helm-mini)
("C-x C-f" . helm-find-files)
("C-x C-...
0
votes
1
answer
151
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
9
views
helm-find-files wants to send email when C-x C-f on word containing @
When the point is on a word containing the @ character, helm-find-files thinks I want to compose an email. For example, if the word under the point is foo@bar then it prompts me to go into message ...
1
vote
1
answer
22
views
Cannot navigate Emacs Commands in helm M-x
I'm trying to comment a region of code in my init.el file, so I type M-x comment-region
While I see the match I want in Emacs Commands Helm actually autocompletes this to uncomment-region since this ...
2
votes
1
answer
487
views
Error with helm-config
Suddenly, I'm getting the error "No such file or directory" "helm-config" when I start Emacs. Here's what I have in my config.org which is called by init.el
(use-package helm
:...
0
votes
0
answers
15
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 ...
1
vote
1
answer
26
views
Setting Helm custom source from the result of a search
I want to be able to use the results of a regexp search as an helm source. The goal here is to find all the labels of a latex document, this in part because I find this useful but also to learn Helm ...
0
votes
0
answers
13
views
Offer link targets already present in a file when executing `C-u C-c C-l`
Suppose I have an org file containing lots of links to files on different places on my hard drive. Now suppose I want to insert a new link to a file I press C-u C-c C-l, navigate to the file and ...
0
votes
0
answers
24
views
Helm follow mode for sorted list of text files
I need to browse lots of text files and want to use helm follow mode to preview the files without leaving the helm session.
To do so I tried helm-find-files which lets me sort the candidates ...
1
vote
1
answer
26
views
How to toggle `helm-ff-skip-boring-files` during file navigation with `helm-find-file`?
I'd like to be able, with a keystroke, to hide/show boring files during the file navigation in helm-find-files.
I defined a function
(defun mxl/toggle-helm-ff-skip-boring ()
(interactive)
(setq ...
0
votes
1
answer
59
views
How do I call helm in the middle of switch-to-buffer (using vertico)?
Say I'm in the middle of switch-to-buffer (using vertico.el btw), I couldn't find the buffer/file I need. I want to use a key binding to call helm-recentf or helm-locate etc, how should I go about ...
1
vote
1
answer
19
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
72
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
67
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
61
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
1
answer
76
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 ...
1
vote
1
answer
242
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
27
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
31
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
367
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
1
answer
105
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
1
answer
98
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
26
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
3
answers
115
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
150
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
62
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 ...
3
votes
2
answers
664
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
489
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
354
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
38
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
147
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
17
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
213
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
112
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
170
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
241
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
85
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
47
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
191
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 ...
1
vote
0
answers
126
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
47
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
59
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
185
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
126
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
91
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
91
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 ...