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
5
votes
2answers
2k views

Defining key-bindings within `helm-map`: getting a `void-variable helm-map` error

Am going through this Helm tutorial at the moment; I pasted in the code verbatim (for now, I'll adapt it to suit my preferences later). I did a quick google search for this particular error but it ...
6
votes
2answers
754 views

Restoring windows and layout after an Ediff session

Looking for a solution on how to restore my window layout after an Ediff session, I found a blog post, where the author suggests: (winner-mode) (add-hook 'ediff-after-quit-hook-internal 'winner-...
19
votes
2answers
727 views

How to scroll through all available matching interactive (M-x) commands using Helm rather than just my history?

I'm using Helm to perform completions for my interactive commands, but it only lets me cycle through those commands which I have used in the past (i.e. 4 Candidate(s)). I don't want this behavior, ...
7
votes
2answers
846 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 ...
18
votes
1answer
1k views

How to widen helm buffer names in `helm-buffers-list`?

One of the things I find annoying in emacs-helm is the size of the column showing buffer names in helm-buffers-list. I have searched the documentation and couldn't find how to customize the width of ...
8
votes
1answer
939 views

Helm: override C-h

I followed this answer and created my minor mode to avoid my keybindings being overridden by any major modes. So I put this in my init.el: (define-key my-keys-mode-map (kbd "C-h") 'delete-backward-...
8
votes
2answers
457 views

How to truncate buffer information in helm list

When I have a lot of buffers open and I use helm-mini to look through them, I notice that deeply-nested or tramp buffers take up too much horizontal space, causing them to wrap around, like this: How ...
5
votes
1answer
4k views

Required package `emacs-24' is unavailable

I use DropBox to share my .emacs and .emacs.d with the various machines I use. I setup helm using emacs on my mac but now I'm having issues when opening emacs on my Linux box: Warning (emacs): ...
0
votes
1answer
531 views

Magit: How reset-soft to specific commit?

List of my branches: develop features/magi master Current branch is features/magi. I want to reset from current commit (commit 3) to previous commit (commit 1). So I use command: magit-reset-soft ...
27
votes
5answers
7k views

How can I get fuzzy code completion

When using ReSharper in Visual Studio symbols can be auto-completed using fuzzy matching instead of prefix matching. For example if I'm looking for a function named DoSomethingAmazing I could write ...
23
votes
2answers
1k views

Is there any way to order helm results by commonly used?

It seems that the order of helm results is never useful... I either have to navigate through the long list or keep typing until I've narrowed the list enough. Is there any way to sort the results in ...
12
votes
1answer
3k views

Open file in new window after searching it with helm

As written in A Package in a league of its own: Helm there's a way to search for a file using Helm decide after searching whether open it in same or other window My question is: How?
10
votes
6answers
7k views

Recursive grep in directory with helm and/or projectile?

A recursive grep in a directory should be the simplest thing, but I haven't found the recipe to get it to work yet. I'm juggling between the following commands and am not sure which has the ...
7
votes
2answers
4k views

A search interface for org mode files

I use org-mode to take notes. Currently I have a root directory, say, "Notes", and there are several subdirectories inside it, for example, "Linux", "Programming", etc. The notes taken using org-mode ...
10
votes
1answer
1k views

How to sort file list in helm-find-files

When I use helm-find-files to search for a directory. I would like it to display exact matches and directories first in the list of candidates, followed by files. For example, searching for "src" ...
4
votes
1answer
616 views

How to sort file list in helm-find-files by date

How to sort file list in helm-find-files asks how to sort the file list so that directories float to the top. My question is different: Is it possible to sort the files returned by helm-find-files ...
8
votes
1answer
384 views

How to pass a prefix argument to helm-m-x?

I have read the prefix has to be added after running helm-m-x, but I don't know how to do it. For example I want to pass an argument to shell. When I run helm-m-x and then C-u I see in the mode-line [...
5
votes
3answers
4k views

Recursively find all files from a folder containing a regexp in the filename, using helm

How can I find all files from a folder and its subfolders recursively, containing a regexp in the filename, using helm? For example: how to search for all files with the extension .el and containing ...
4
votes
1answer
2k views

evil mode - make helm quit with the escape key

I followed this guide to make escape quit from various modes... ;; esc quits (defun minibuffer-keyboard-quit () "Abort recursive edit. In Delete Selection mode, if the mark is active, just ...
3
votes
2answers
462 views

savehist the comint input ring

I've got helm installed to work with comint mode either in eshell or when running python in an inferior comint process. I'd like to preserve the command line history, especially in the python mode. ...
2
votes
2answers
555 views

How does emacs know to use `helm-find-files` in this context?

There is a stock emacs function called append-to-file that is defined as follows (in files.el): (defun append-to-file (start end filename) "Append the contents of the region to the end of file ...
5
votes
1answer
291 views

Helm and custom commands

If I write a command that calls (interactive "f"), Emacs will prompt the user to select a file when the command is run interactively. With Helm enabled, this selection is done through Helm with no ...
3
votes
2answers
263 views

Decomposing helm-source-buffers-list in two parts

I'd like to customize helm-mini in such a way that its helm-source-buffers-list would be decomposed in two parts: One source corresponding to buffers visiting a file (i.e. something like (remove-if-...
3
votes
1answer
128 views

helm help mode can not search or select

While in Helm Help mode -- the help buffer that pops up when you hit C-c ? in a helm buffer -- I am unable to do anything but scroll up and down. I can not select text (neither with mouse nor with ...
2
votes
0answers
429 views

helm-occur: how to make it behave more like isearch?

I switched to helm-occur for searching within buffers. However, I can't help missing two of the nice features of isearch: isearch remembers the position where it was invoked in a buffer; helm-occur ...
2
votes
2answers
237 views

Find files interactively with a snippet

It should be nice to write yasnippets, which ask for filepath interactively using helm, predefining starting directory should be fine too.
2
votes
1answer
451 views

Helm completion no longer used for M-x or find-file

Tonight I started Emacs, and helm-mode is no longer used for certain actions. So far I have found that, for me, M-x and find-file don't use helm anymore, which they have since I first started using ...
2
votes
0answers
147 views

How to find/grep in Python virtualenv with projectile/helm easier?

How I can customize helm/projectile behaviour to find files and grep in $VIRTUALENV dir easier? Or maybe I can write some function(s) to find/grep in virtualenv of current project?
1
vote
1answer
980 views

Can't get grep search in helm-projectile working?

I got thankfully introduced to use helm and helm-projectile for all the goodies it has and especially the helm-projectile-grep-search. I must say, this supercharged Emacs by a long shot. I learned ...
1
vote
1answer
112 views

Enable Follow mode for helm-org-in-buffer-headings

I want to enable helm-follow-mode for helm-org-in-buffer-headings. This is what I have so far: (add-hook 'helm-after-initialize-hook ((lambda () (helm-attrset '...
1
vote
1answer
202 views

How to enable circular scroll in emacs helm

How do I wrap around and start from the beginning when I have reached the end of items in a helm buffer?
1
vote
1answer
97 views

Bindings in helm-help?

when helm is active, I can press C-c ? to open a buffer containing helpful information for the current helm session. Now, coming from vim, I'd like to have some evil-bindings in that window, but I'm ...
0
votes
1answer
345 views

Wrong type argument: commandp cscope

My question is how to let the command SPC-m-c-Cget the function name automatically? I am using 0.200.10@25.3.1 (spacemacs), on Ubuntu 16.04 64 bit I am using cscope layer, it is great but with one ...
0
votes
0answers
29 views

helm-comint-input-ring - get error: shell-mode-map

windows 10, emacs 26.1, helm 3.0 I use C-c C-l (comint-dynamic-list-input-ring) I get something like this: But I don't like this. I want to use helm-comint-input-ring. I want to get something like ...