Questions tagged [helm-sources]
Helm sources will provide the input for the helm buffer. Each source should have a name, a list of candidates and an action that works on the selected candidate.
27
questions
1
vote
1answer
115 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
20 views
How to add all-level headings of org-mode buffer to helm-mini (helm-for-files)?
Let's say I have an agenda-files:
(setq org-agenda-files '("~/todo.org"))
This is my helm-mini-default-sources:
(setq helm-mini-default-sources '(
helm-c-source-...
2
votes
1answer
228 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 ...
0
votes
0answers
21 views
How to add bufler's projectiles groups to helm-mini-default-sources
I have this config for bufler.
(use-package bufler
:straight t
:bind ("C-x C-b" . bufler)
:config
(setq bufler-groups
(bufler-defgroups
(group
;; ...
0
votes
1answer
103 views
Helm: change shortcuts of the actions
In helm, when you press TAB, you have access to the actions corresponding to the current entry. By default, they are bound to [F1],[F2]... But I don't like these shortcuts for several reasons:
the F{...
1
vote
1answer
136 views
helm-M-x fuzzy not working (only match if provide proper prefix)
I set helm-M-x-fuzzy-match to true, but it is not working as I want.
For example, if I type log:
I expect it to show clm/toggle-command-log-buffer as well.
0
votes
1answer
120 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
36 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 (...
1
vote
0answers
130 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 ...
4
votes
3answers
185 views
Org-capture menu from within helm
I have started using org-capture extensively, and now have capture lists for just about everything: books to read, movies to rent, articles to write, research topics, business ideas ā you name it.
...
1
vote
1answer
88 views
helm narrow to subtree
I am using helm-org-in-buffer-headings to search headings in the current buffer. I am using this script (provided by jagra here) to activate follow mode:
(with-eval-after-load "helm-org"
(cl-...
1
vote
1answer
114 views
Hide leading stars in helm-org-in-buffer-headings
Currently, when I run helm-org-in-buffer-headings in see something like this:
* main topic 1
** Subtopic 1.1
** Subtopic 1.2
*** Sub-subtopic 1.2.1
* main topic 2
I would like to hide the leading ...
1
vote
1answer
200 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
0answers
79 views
How to customise lines in helm buffer
When calling a helm selection function like helm-multi-files I get a helm buffer looking like this:
Buffers
templates 755 Dired by name (in '/path/to/dir->
text.md 1320 ...
2
votes
0answers
78 views
How can i add more sources to helm-find-files?
I want C-x C-f which is mapped to helm-find-files to include
X amount of recently opened files
Files in the X number of unique directories as recently opened files
Files in recent projects, ie git, ...
1
vote
0answers
56 views
How to create a helm source from a list of points?
I have a list of lines in my current buffer, and I'd like to create a helm menu
for the user to select which point to navigate to. Ideally, I'd like a helm
source like helm-swoop's, but all the lines ...
0
votes
1answer
89 views
Add fuzzy completion to custom helm source
I am experimenting with custom helm sources, but I cannot figure out how to get fuzzy completion to work with it. Here is an example:
(defun my-helm-test()
(interactive)
(let ((some-helm-source
...
3
votes
0answers
132 views
Helm: add a column to helm-buffers-list
Does anyone know how to add a column to helm-buffers-list ?
I try to hack it, but just find helm-buffers-list-cache contains
buffers names and can't find how to add size or directory (which exists
...
1
vote
0answers
23 views
Writing helm search for MediaWiki-powered wikis
Related: How to do searches in MediaWiki mode
In the absence of specific support for searching MediaWiki sites, helm seems like a good framework for search and navigation.
How does one write a helm ...
1
vote
2answers
161 views
Configure matching settings for locate-source for helm-mini
How can I configure helm-source-locate (for helm-mini) such that it matches like the following:
Type some tex it should match some_file.tex as well as b_some_other_file.tex.
0
votes
0answers
65 views
helm-mini - narrow down to buffers selection with specified major mode
currently, to narrow down the buffers withshell mode, I'd invoke helm-mini, and then type "shell". I wonder
how can I narrow down the selections using lisp? So I could have a
function with a ...
0
votes
2answers
70 views
How to populate helm-source by regexp
I am working on adding some functionality to phpunit.el such as selecting from a list of functions found in the current buffer (populated in Helm).
The issue is that I can't get Helm to be populated, ...
1
vote
2answers
238 views
Create helm source containing multi-term buffers
I am using multi-term and would like to create a helm source which displays all my open terminals. There is a list of all terminal buffers called "multi-term-buffer-list", but I can't get this list ...
4
votes
1answer
135 views
My imenu-entries get double listed. How could I correct that?
With the PHP-mode that's shipped with Emacs, suppose I have the following PHP function:
public function foo()
{
print "bar";
}
Imenu will list the foo in all methods and public methods.
Other ...
2
votes
0answers
148 views
Helm - How to change default selection while renaming?
I have a dired buffer with two files
foo.py
foo_bar.py
Now to rename foo.py to bar.py, if i goto foo.py, press R and type bar.py, helm selection will be like this
Here helm is selecting the ...
1
vote
0answers
126 views
How to remove unwanted candidates from helm-semantic-or-imenu?
Helm has inbuilt function helm-semantic-or-imenu. When this function is called, it shows all candidates including variables, dependencies e.t.c.
I mostly use it only for functions and classes. I want ...
1
vote
0answers
169 views
How to cycle through helm sources?
I have multiple sources in helm like this
(setq helm-sources '(helm-source-buffers-list
helm-source-recentf
helm-source-dired-...