Questions tagged [helm]
Helm is an incremental completion and narrowing framework for Emacs. It is available for installation from MELPA.
476
questions
0
votes
0
answers
15
views
How to disable Helm's yes/no/save menu
I'm using Helm, but want to use the original Emacs menu instead of Helm's version when closing an unsaved file. Turns out I prefer using the Emacs' simple y-or-n-p dialog.
How do I disable Helm in ...
0
votes
0
answers
8
views
Emacs (maybe helm?) prefers buffers that aren't visible - how to change this?
When switching buffers, emacs seems to prefer buffers that aren't already visible.
For example, normally when I'm editing and switch to another file, when I C-x b, the buffer I was last in is at the ...
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
0
answers
11
views
How to save a new buffer to a new file with helm?
(It's likely a dumb question as I'm new to emacs buffer saving commands.)
After creating and editing a new buffer (with a temp name "untitled"), I would like to save it to a new file (not ...
0
votes
0
answers
19
views
Difference between helm-occur and helm-swoop?
helm swoop seems slow sometimes.
I'm trying helm occur, and wonder what's the difference.
They look very similar.
I'm asking because I'm afraid I'm missing a point that the library is trying to ...
0
votes
0
answers
10
views
Question on modifying Helm's search (helm-ag or similar tools)
I'd like to do the following when I search
- find symbol in a project
- add restrictions (options)
- to narrow to files that matches a pattern (--include)
- to narrow to files that doesn't ...
0
votes
0
answers
12
views
helm M-x is executing command twice?
I execute a command M-x pyvenv-workon
It is called twice as below, wonder why
The first call stack trace shows the correct path to the virtualenv
spacemacs//python-setup-shell("/Users/...
0
votes
1
answer
34
views
xref-find-apropos vs vc-git-grep
I 've been using git specific commands from helm (I think it internally uses vc-git-grep
I find xref-find-definitions work very well. and wonder how xref-find-apropos compare with vc-git-grep
I coulnd'...
0
votes
0
answers
29
views
Increasing results candidates for helm-ag?
When I need to make bulk edits in my project, I use helm-ag to find my pattern recursively in all the files, run replace-regexp on the editing buffer, and then commit. One thing in particular I find ...
0
votes
0
answers
19
views
macos, terminal emacs overwrite ui emacs' buffer history (and probably other things)
I am a macos & spacemacs user and installed my emacs through https://emacsformacosx.com/. For UI based emacs I just click on the emacs icon. For terminal I run this command: alias emacs='$(/...
0
votes
0
answers
38
views
Repeat the same search in `helm-rg`, visiting buffers between search
I'm trying to do the following:
find all buffers containing text "foo"
visit each of those buffers to perform some edition
Using helm-rg, I'm forced to do this:
M-x helm-rg
Enter the text ...
0
votes
0
answers
34
views
Helm see options for opening a file
I'm new to emacs and using Spacemacs Doom. I pressed SPC f r t of find recent files and I used the arrow keys to select the one I want. Now I want to see what options I have for opening it (open in ...
0
votes
0
answers
64
views
Make the most recently visited buffer on top of the Buffers list with switch-to-buffer under helm
When I do C-x b under helm the topmost buffer in the list is the most recently visited buffer except if another window is currently visiting that buffer.
How can I make the topmost buffer be the most ...
1
vote
1
answer
42
views
Org-mode tag autocomplete with helm adds unwanted comma
When using org-capture, tags are auto-completed with a comma that is not compatible with org-mode tags (org-mode tags are separated by colons)
I believe helm is assisting with the tag autocomplete ...
0
votes
1
answer
59
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
38
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
50
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
58
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-...
2
votes
1
answer
814
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
10
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 ...
2
votes
2
answers
51
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 ...
3
votes
1
answer
1k
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
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 ...
1
vote
1
answer
29
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
25
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
29
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
89
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
25
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
84
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
94
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
116
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
386
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
32
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
50
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
495
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
206
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
115
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
31
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
218
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
216
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
131
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 ...
4
votes
2
answers
850
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, ...
2
votes
1
answer
606
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
482
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
51
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
30
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
213
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
20
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
269
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
130
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 ...