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
44
votes
1answer
11k views

How should I change my workflow when moving from IDO to Helm

As an Emacs newbie, I found IDO and loved it since it made searching for files so much quicker. After spending some time on this site, I've read more and more about Helm and I'm planning on making the ...
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 ...
25
votes
3answers
4k views

How do I make pressing <RET> in helm-find-files open the directory?

When I run #'helm-find-files, and move point to a directory, pressing <ret> results in opening that directory in dired mode. One has to press C-j to enter that directory in Helm. I'd like to ...
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 ...
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, ...
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 ...
14
votes
1answer
3k views

Helm swoop on all project files (not just current buffers)

So I'm looking to have helm-swoop look at all files in a project, not just the current set of open buffers. This is so I can use swoop to find all occurrences in a project, mark relevant ones, then ...
12
votes
1answer
467 views

Prevent helm from prompting to create a new buffer

If you visit a directory with helm-find-files and type the name of a file that doesn't exist, before opening it in a new buffer helm will prompt: File does not exist, create buffer? I would like ...
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?
11
votes
2answers
4k views

Helm: search within buffer feature?

A pretty basic Helm question. What is the Helm window/command/feature that lets us search for text (preferably using regexp) within any type of buffer (i.e., including read-only such as w3m)? In ...
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 ...
11
votes
1answer
2k views

Does icicles offer features that Helm doesn't?

I'm an avid helm user and am reading the description for icicles. It includes things like: cycle through completion candidates that match your current input * which sounds weaker to me than seeing ...
11
votes
2answers
801 views

RefTex searching for multiple articles with Helm

I recently started using Helm and am really enjoying it. However, I use emacs to write a lot of LaTeX. When I cite articles, I often need to cite several in the same cite macro - I could search my ...
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 ...
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" ...
9
votes
1answer
3k views

How to change helm's highlight color

I'm using Monokai theme. When I start helm, the current selected line are highlighted in gray. It's not easy to spot,especially with the title information in blue. How can I change this gray ...
9
votes
1answer
1k views

Open helm search result in a new window?

Commands like helm-projectile-grep, helm-swoop, projectile-find-file are extremely useful for jumping around code. However, so far I've not found how I can open a search result in a new window (...
9
votes
1answer
191 views

How do I verify a large package in a git repo is safe?

I'm looking at emacs helm specifically, which has the following properties: it has thousands of commits it is largely maintained by one user the maintainer has no other profiles (social media, etc.) ...
9
votes
1answer
739 views

Helm and LaTeX mode

When I run the command LaTeX-environment (bound to C-c C-e by default) Helm properly selects from a list of all relevant environments (i.e. the same list I'd get without Helm turned on). The prompt ...
9
votes
1answer
116 views

How to separate histories for different Helm prompts

When operating as separate Doctor Fates, Inza wears the helmet and Kent's original costume while... – Google on helm separate history When I press M-p in the Helm prompt for helm-git-grep I get a ...
8
votes
2answers
2k views

How can I use Helm File Finder to copy a file path to a buffer?

Is there a way, in the buffer launched from helm-find-files, to copy a file path to the kill ring?
8
votes
4answers
1k views

helm-ag (or similar) find in javascript files only

I'd like to restrict find/grep to (say) only javascript files (mainly because that's what i do in "another editor"). Javascript files in my legacy Ruby-on-Rails project have one of these file ...
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 [...
8
votes
1answer
2k views

Quicker way in Find-file with helm?

In emacs with helm, I can C-x C-f find file. After type part of the folder name, helm find the right folder. At this point, I can hit Enter to enter Dired mode. and C-s to search a second level ...
8
votes
1answer
439 views

Why is helm-recentf not fuzzy?

For some reason, fuzzy matching is not working in helm-recentf for me (though it is working everywhere else). I have the following settings in my .emacs file: (setq helm-recentf-fuzzy-match t ...
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 ...
8
votes
1answer
2k views

How can I use helm with org-refile?

I'd like use org-refile and select the heading with helm with an interface like helm-org-in-buffer-headings. I know I can use helm-org-in-buffer-headings to do this using f2, but is there a way to ...
8
votes
0answers
2k views

Use helm-company as default for company autocompletion?

I want helm-company as the default selection method for company. Helm-company is meant to be invoked manually after company completion started. But I would really like to invoke helm automatically on ...
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 ...
7
votes
2answers
411 views

helm - adding helm-M-x to helm sources

I am able to add few extra sources to helm like this (setq helm-mini-default-sources '(helm-source-buffers-list helm-source-recentf ...
7
votes
2answers
996 views

Using ido or helm to auto complete email addresses in mu4e

Is there a way to auto-complete email addresses in the mu4e compose window using Ido or Helm rather than the standard *Completions* buffer?
7
votes
2answers
723 views

How to debug Helm

I am having some trouble with helm, so I have set debug-on-error in an effort to locate the problem. Now whenever the problem occurs, the *Backtrace* buffer appears as expected, but I am still in one ...
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 ...
6
votes
3answers
3k views

How to see recently opened files in helm

What's the best way to get the recently opened files in helm. Without helm I just did C-c C-f and then arrow up to get the last opened file. And with M-r I was able to to a regexp search through ...
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-...
6
votes
2answers
2k views

disable helm mode for find files

IDO had this disable the special mode and fall back to vanilla find-files. It was useful to be able to use environment variables and their expansion in path names for example. Is there something ...
6
votes
2answers
303 views

How to make Helm always add ^ to the input pattern

Is there a way in Helm to first match substrings from the beginning and only after that in the middle of candidates? For instance, I have the following directory structure: ~/ .emacs.d/ .gem/...
6
votes
0answers
32 views

Prefer matches that have multiple hits?

It seems that helm prefers shorter paths when ordering the current set of matches. Is there a way to keep this general behavior but also take the number of matches into account? In the screenshot I ...
6
votes
1answer
1k views

open helm selection in horizontal split

I'm switching from vim and so far everything is going smoothly. One thing I'm sorely missing is ctrlp's functionality for opening the selected file in a horizontal split with C-x or vertical split ...
6
votes
0answers
1k views

Projectile only sees project related to current buffer, if the buffer belongs to a project

I have two projects opened in my Emacs. Both are git repos and have .projectile files in their directories. Relevant lines in my init.el (projectile-global-mode 1) (helm-mode) (setq projectile-...
5
votes
2answers
821 views

Helm bind “C-j” and “C-k” to list navigation (cursor position)

Is it possible to change binding to navigate throw Helm list via C-j and C-k bindings? I came to Emacs from Vi(m) world and I really want to keep this mapping in my emacs + evil setup.
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 ...
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): ...
5
votes
2answers
2k views

How does Spacemacs allow tab completion in helm?

I am brand new to using Emacs and I love it. I tried Spacemacs to see the functionality it provided out of the box and I want to replicate some of those features in my own Emacs configuration. From ...
5
votes
1answer
4k views

GNU Global + ggtags and helm + helm+gtags

In http://tuhdo.github.io/c-ide.html#orgheadline2 which is about "Prerequisite" Or, helm + helm-gtags. What does "Or" imply as the alternative to the combination "helm + helm+gtags"? Is the ...
5
votes
1answer
2k views

Helm-mode change default keybinding for “helm-find-files-*” * -> “down-one-level” (?)

I wan't to switch the keybinding in helm-find-files when I go one level up or go in to a folder. Now it looks like: "C-j" -> go in to the folder "C-l" -> go one level up For me, it's intuitive to ...
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 ...
5
votes
1answer
2k views

How to open a file with tramp mode when Helm is active?

I recently started using Helm with the configuration below (require 'helm-config) (helm-mode 1) (define-key global-map [remap occur] 'helm-occur) (define-key global-map [remap list-buffers] 'helm-...
5
votes
2answers
459 views

Can helm `find-file` in the parents directory automatically?

With ido-find-file, if the file I am looking is not in current directory but in the parents directory, it can automatically find it as candidate. I am not sure if helm can do the same thing?