Questions tagged [helm]
Helm is an incremental completion and narrowing framework for Emacs. It is available for installation from MELPA.
401
questions
0
votes
1answer
16 views
Helm: copy file to bookmarked directory
I am using spacemacs. I want to achieve similar thing to the one in question browse through bookmarks in dired.
I would like to be able to quickly choose an alternative destination from within the ...
2
votes
1answer
118 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 ...
11
votes
2answers
3k views
Mark and open multiple files with Helm and Projectile
Helm seem to support marking files in helm-find-files. Is it possible to open the marked files, each one inside of its own buffer from within the find file buffer?
Update: I noticed that I was using ...
0
votes
1answer
32 views
Spacemacs helm-org layer is missing
Good day,
I wanted to use the helm-org-in-buffer-headings function. Yet for some reason helm-org layer is missing. If I install it manually via package list packages it gets deleted with the next ...
7
votes
2answers
844 views
Autocompletion when creating Internal Links in Org-mode
In Org-mode, when creating internal links, we have to type full name of the section heading to which we want to link.
Is it possible that the heading name gets automatically filled in when we are ...
0
votes
0answers
16 views
Sharing helm-buffers-list between multiple windows
I use two separate windows in emacs, and when I use helm-buffers-list, it displays a list of files sorted with the most recently visited files near the top, however, this list is sorted differently ...
0
votes
0answers
8 views
When running helm-buffers-list, after I start narrowing, how do I keep the ordering of the results by most recently used?
When I run helm-buffers-list, I get a list of buffers, ordered by most recently used. This is great.
But when I start filtering that list, it sorts by buffer name length! So the top result may be a ...
0
votes
1answer
55 views
helm-mu on macOS throws Invalid read syntax: (")
Hej guys,
I get an error when searching through my mails with helm-mu.
Messages gives
Invalid face reference: helm-grep-finish [96 times]
error in process filter: helm-mu-candidate-parser: End of ...
0
votes
1answer
14 views
eval-expression on (setq helm-debug t) does not change describe-variable output
I'm running this version of Emacs:
GNU Emacs 26.3 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.11) of 2019-09-23, modified by Debian
Installed on Ubuntu 19.10 via apt, and not built from source.
...
0
votes
1answer
24 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
1answer
54 views
Commands with Keybindings only
When I run helm-M-x and enter characters, I like to see only those commands which has key-bindings. How I can achieve that? I like to have reverse functionality as well, ie.. commands without key-...
0
votes
2answers
141 views
a function to grep specified files?
My Emacs customizations reside in a few separate .org files, all in the directory ~/emacs-prelude/personal. I'm always searching these files to find and change settings.
How can I define a function ...
0
votes
0answers
15 views
Doing grep on files after doing helm-grep-do-git-grep?
For example, you helm-grep-do-git-grep with foo
Helm will give you list of matching lines.
Let's assume there are 100 matching lines in 12 files.
I want to do helm-grep-do-git-grep with bar on those ...
0
votes
1answer
19 views
Preventing Helm C-k from deleting entire minibuffer
Probably a very simple answer, but when I use helm-find-files, I often accidentally hit C-k (helm-delete-minibuffer-contents) instead of C-j (helm-execute-persistent-action), deleting the entire ...
1
vote
2answers
85 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, ...
1
vote
0answers
30 views
How to navigate inside helm buffer
How to navigate inside helm (helm-mini in this case) vertically with arrow keys? I mean, I wanna go to Recentf "submenu" (like on picture), but pressing down arrow keep iterating over Buffers. I found ...
2
votes
0answers
42 views
Helm for anything
I use Helm for switching between buffers, opening files, m-x'ing, etc. Is there a way to make helm search in all these things at the same time?
I'd like a super-helm to provide all the results I'd ...
0
votes
1answer
57 views
How to write a helm persistent-action to open a file at a particular line number?
I have written a helm-extension that at the end shows a list of entries where each entry is like this:
module_name function_name file-path line-number
I am now writing a persistent-action that ...
0
votes
0answers
22 views
Helm source from a hash-table
I want to build a helm-source from a large hash-table, is there a smarter/faster way to to this, than the way described below?
(setq tab #s(hash-table
size 16
test equal
...
1
vote
1answer
210 views
Error running timer: (error “Candidates function `helm-git-grep-process' should run a process”)
I'm getting this error when trying to run helm-git-grep. As soon as I start typing the first character of the pattern, I get this:
Error running timer: (error "Candidates function `helm-git-grep-...
1
vote
0answers
23 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 ...
0
votes
0answers
21 views
How to sort Helm command list alphabetically
When I hit M-x R I get the following list of commands:
How can I sort this alphabetically, so that "R" is the first item on the list?
2
votes
1answer
663 views
spacemacs: keep track locations of smart search
I have custom visit history ring which is independant of search seach engine used. I would like spacemacs smart search filled my ring as well.
Details:
1. I'm in some buffer under location1.
2. I've ...
0
votes
1answer
23 views
How to navigate through bookmarked directories in helm-find-files?
I have some bookmarked directories (regular Emacs bookmarks). I'd like helm-find-files to quickly navigate to the files in these directories. I've tried helm-bookmarks but it will only open the ...
0
votes
1answer
853 views
Symbol's value as variable is void: helm-map
Windows 10, Emacs 25.1
In my init.el
(define-key helm-map (kbd "<tab>") 'helm-execute-persistent-action)
But on start Emacs I get error:
Symbol's value as variable is void: helm-map
0
votes
1answer
29 views
Using the :match attribute for custom matching for a Helm source
I'm trying to create a Helm source which matches the basename of files. I created a source which splits the basename of files in recentf list and puts the path behind it in parens (it uses the (...
0
votes
1answer
27 views
How to call an interactive function while building helm-sources?
With a region selected I can call this function "accdeb" (below) that gives me the right results in a list. How can I feed this list to helm ?
With the code below I get: wrong-number-of-arguments.
...
1
vote
3answers
750 views
search for strings and subheadings in org heading
As my org files keep growing, it is getting more complicated to find what I'm looking for. For now I'm using helm-occur to find strings and helm-org-in-buffer-headings to find headings in org files. ...
3
votes
1answer
54 views
Quickly navigate through a cascade of otherwise empty directories in helm
I'd like to be able to quickly skip to the bottom of a cascade of otherwise empty directories. Consider the following directory structure:
foo/
bar/
baz/
a.txt
b.txt
If I were in ...
0
votes
0answers
7 views
`helm-comint-input-ring` for term-mode?
I like helm-comint-input-ring in emacs shell, and I configured it to read .bash_history file to get more commands in history. However, I mainly use term-mode recently, and helm-comint-input-ring is ...
0
votes
1answer
92 views
Org-ref with biblatex - is it feasible or should bibtex be preferred?
I am contemplating setting up org-ref to use within org mode for drafting scientific texts. However, as I go through various blogs etc. on the subject, it seems that org-ref is tailored for the ...
0
votes
0answers
23 views
Helm expands ~. Is it possible to expand other “aliases” as well?
Apparently anaconda-mode provides eldoc support on remote files, but it kinda breaks TRAMP if the remote file name contains an ssh alias (TRAMP will keep reconnecting over and over).
It is ...
0
votes
0answers
16 views
In a terminal (not in Emacs), how can I use emacs helm/swipe to choose old shell command from bash_history?
In a terminal, we can use C-r to search a command from bash_history, but it is far less powerful than the Emacs package like helm-swoop or ivy-swipe. How can I use a shortcut in terminal (e.g., C-r) ...
1
vote
0answers
60 views
Selecting a file via helm using multiple sources
I have a customized find-file that uses helm sources to help load a file into my buffer. Now, however, I would like to be able to select a file using the same algorithm and store that filename into a ...
0
votes
0answers
15 views
How to make helm list all options when hitting M-x
I unfortunately lost my init_helm.el file, and had to reconstruct it from scratch, so far only with these commands:
(require 'helm)
(helm-mode 1)
The functionality I miss the most is the ability to ...
0
votes
0answers
15 views
Find files interactively with a yassnippet with helm-find-files?
I've seen the answers to this question on inserting filenames interactively within a yasnippet. They are excellent and work great.
I was wondering, however, if it's possible to expand them to use the ...
1
vote
0answers
21 views
Using helm to create a file while in a helm session
I often find myself in a command that queries for a filename e.g. diff-tell-file-name. This command asks me what file to apply a diff to.
In my case, often the file does not exist and I would like ...
1
vote
1answer
18 views
Does grepping via helm support searching for multiple words in any order like other helm completions?
When searching multiple terms with Helm separated with spaces then Helm returns the results which mach the terms in any order. This is good.
Sometimes I try grep via helm. E.g. I use helm-recentf to ...
2
votes
0answers
35 views
Simple Atom-style jump-to-file
I'm upgrading Emacs and moving from macOS to Windows after quite a few years getting by with a very old setup (eg, custom scripts for Anything). I've installed Helm. I'm interested in a simple way to:
...
2
votes
1answer
327 views
use-package won't load helm for projectile
I'm trying to use use-package to load projectile. Projectile uses helm for completion, which I'm also loading with use-package. Since projectile and helm have :bind sections I believe they're both ...
2
votes
1answer
155 views
Use Helm for Org Refile Completion
I want to use helm for org-refile completion when determining which heading to refile under.
Here are some excerpts from my initialization script.
(setq org-refile-targets '(("~/Documents/GTD/Gtd....
1
vote
1answer
59 views
Avoid spurious buffers with helm-find-file
I have C-x C-f bound to helm-find-files. Mostly this works really well, but if I hit TAB when there are no completions for an item (most often because I've fumble-fingered the directory or filename ...
1
vote
1answer
169 views
helm-gtags doesn't reflect the latest code change
I'm using helm-gtags-find-tag-from-here command a lot. It works fine as long as there is no change to the source file contains the definition of symbol under the cursor. However, if I modify the ...
2
votes
1answer
49 views
How could i create helm-find-file function that copies selected file path
Is there a way to create helm-find-files function that would copy file path upon completion instead of opening it? It's important that original helm-find-files function would still open files.
1
vote
1answer
59 views
create new file helm-find-file with ffap
I have helm-find-files bound to C-x C-f.
When I use it with a filename at point, and the file exists, it uses ffap to offer me that file, which is nice.
But when the file does not exist, it just ...
0
votes
1answer
35 views
How do I select 'flag' options for magit through helm?
I'm using spacemacs with helm and magit. There are some options, for example, the ability to sort log entries in reverse order, that have a flag by them.
I don't know how to select any of these ...
1
vote
0answers
11 views
How to use negation in helm-gid
I would like to be able to execute M-x helm-gid and type in:
one two !three
But the "!" operator seems to be treated as if it is looking for id's that contain the "!" character. It works great in ...
2
votes
1answer
75 views
Can `helm-ag` commands ignore git submodules?
When I am running helm-ag commands in a large project with multiple git submodules, the shared libaries are repeatedly searched. I do not want those be searched.
So how can I change the helm-ag ...
0
votes
0answers
13 views
How to use helm-locate (or similar) when saving a buffer?
When opening a file, I often use helm-locate to quickly access any file anywhere. But when saving a new buffer, I navigate through the directory structure to get the location I need. Is there a way to ...
0
votes
2answers
94 views
How do you grep/ag in specific subdirectory of a project?
projectile-greps are probably the commands that I use the most. However, with some very large projects I am frequently interested in grepping only one subdirectory of the project. For my greps I ...