TGViewer
/r/emacs /r/emacs @r_emacs · 81 subscribers
Post #28732 4
consult questions and tips (custom file picker, counsel-org-goto-all)

Disclaimer: not a programmer.

>How to bind a key to select from a list of emacs config files to fuzzy search and open from? That exact list is the result of the fd command fd --max-depth 1 .el$ ~/.config/emacs ~/.config/emacs/elisp. I believe consult-fd and consult-fd-args are relevant here but I have not been able to get anything working nor can I find straightforward examples of pre-defined searches for consult-fd as examples to tweak from. I'm sure find-file can be used to load files to the buffer list for my purposes but I'd still prefer to interface with the familiar CLI tool fd that I already use in the command line and I don't want to load the buffers in advance. This is a basic example--I'd like this working solution to be able to tweak for more complex pre-defined searches.

How to get the equivalent of `counsel-org-goto-all`, which searches for headlines across all org files? There's the provided `consult-org-goto` but it's only for headlines on the current org file.
Is there a way to stylize the results of consult such that the / separator found in e.g. consult-org-goto is highlighted differently than the result of the text? Without this, it's hard to differentiate between a really long headline and a deep headline with parents. This is counsel's default which I appreciate.

Any other tips for general useful custom consult functions is much appreciated, especially for org-mode (I use Emacs exclusively for org-mode).

https://redd.it/1x57p9w
@r_emacs
Reddit From the emacs community on Reddit Explore this post and more from the emacs community
More from @r_emacs
  1. Oct 13, 2026Can the :mode command take multiple extensions to trigger a mode? Take this set of extensi…
  2. Oct 13, 2026photo post
  3. Oct 13, 2026agent-shell 0.87 updates https://redd.it/1x4t0hl @r_emacs
  4. Oct 13, 2026Rome Wasn't Built In A Day, More Like 10 Minutes https://www.youtube.com/watch?v=BuqZb6Avd…
  5. Oct 13, 2026How can you design your init.el and use-package clauses so that features which are UI base…
  6. Oct 13, 2026My org-attach config, only place files go (paste / drag / download), with names I can actu…
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →