Questions tagged [helm]

Helm is an incremental completion and narrowing framework for Emacs. It is available for installation from MELPA.

Filter by
Sorted by
Tagged with
0 votes
0 answers
14 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 ...
  • 353
1 vote
1 answer
23 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 ...
  • 75
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 ...
  • 997
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 ...
  • 141
1 vote
1 answer
25 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
45 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
18 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
54 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) (...
  • 163
0 votes
0 answers
50 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 ...
  • 449
0 votes
0 answers
47 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 ...
  • 1
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
54 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 ...
  • 942
1 vote
1 answer
181 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 `/...
  • 35
0 votes
1 answer
26 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 ...
  • 299
0 votes
1 answer
29 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), ("...
  • 917
2 votes
3 answers
298 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
42 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 ...
  • 997
0 votes
1 answer
72 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
88 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
23 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
80 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
110 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 ...
  • 271
0 votes
1 answer
59 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 ...
2 votes
2 answers
561 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
422 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
284 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 ...
  • 51
0 votes
1 answer
36 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
129 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
16 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,088
1 vote
1 answer
187 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 ...
  • 326
0 votes
0 answers
100 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 ...
  • 101
0 votes
1 answer
133 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
217 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
72 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?
  • 509
0 votes
1 answer
45 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/...
  • 3,453
2 votes
0 answers
157 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 ...
  • 141
1 vote
0 answers
115 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 / ...
  • 151
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 ...
  • 1,235
0 votes
0 answers
56 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
170 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
122 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-...
  • 997
0 votes
1 answer
86 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?
  • 997
1 vote
0 answers
77 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
452 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 ...
  • 845
0 votes
1 answer
421 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
153 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,533
2 votes
0 answers
99 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 ...
  • 3,537
0 votes
0 answers
73 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 ...

1
2 3 4 5
10