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
4
votes
3 answers

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. The trouble is, my org-capture menu is filling up…
Adam
  • 1,857
  • 11
  • 32
4
votes
0 answers

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 acquiescently) (defclass helm-source-buffers…
THANK FLY
  • 41
  • 1
4
votes
1 answer

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 packages like Helm and Ido use the same Imenu,…
ReneFroger
  • 3,855
  • 22
  • 63
2
votes
1 answer

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 configuration to reproduce this: ;; Get…
ReneFroger
  • 3,855
  • 22
  • 63
2
votes
0 answers

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, svn projects e.g helm-projectile A manually…
vfclists
  • 1,347
  • 1
  • 11
  • 28
2
votes
0 answers

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 top match from the available file names. How can…
Chillar Anand
  • 4,042
  • 1
  • 23
  • 52
2
votes
0 answers

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 to remove all other candidates and include only…
Chillar Anand
  • 4,042
  • 1
  • 23
  • 52
1
vote
1 answer

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 and elisp. Here is what I came up with: (defun…
TMat
  • 95
  • 9
1
vote
1 answer

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{n} keys are not easy to access on a keyboard if…
tobiasBora
  • 405
  • 2
  • 12
1
vote
1 answer

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.
dandoh
  • 111
  • 2
1
vote
1 answer

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 will open the the file at a particular line number on…
maindoor
  • 57
  • 4
1
vote
0 answers

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 variable. I can use helm-read-file-nameto select…
1
vote
1 answer

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-defmethod helm-setup-user-source ((source…
Adam
  • 1,857
  • 11
  • 32
1
vote
1 answer

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 stars and remove the indentation, so that instead,…
Adam
  • 1,857
  • 11
  • 32
1
vote
1 answer

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 'follow 1 helm-org-in-buffer-headings)))) But not…
Adam
  • 1,857
  • 11
  • 32
1
2