this post was submitted on 29 Oct 2023
2 points (100.0% liked)

Emacs

314 readers
2 users here now

A community for the timeless and infinitely powerful editor. Want to see what Emacs is capable of?!

Get Emacs

Rules

  1. Posts should be emacs related
  2. Be kind please
  3. Yes, we already know: Google results for "emacs" and "vi" link to each other. We good.

Emacs Resources

Emacs Tutorials

Useful Emacs configuration files and distributions

Quick pain-saver tip

founded 1 year ago
MODERATORS
 

Is there a solution for inserting a filename to a buffer (either to a normal buffer, or to the minibuffer) using a recursive fuzzy search, using the vertico + consult + corfu + cape ecosystem? Something like what consult-file does, but instead of opening the selected file, insert the path of it to a buffer.

We have cape-file, but it doesn't fuzzy search in a recursive way.

you are viewing a single comment's thread
view the rest of the comments
[–] sleekelite@alien.top 1 points 1 year ago (1 children)

I feel like if I understood embark it would do that.

[–] oantolin@alien.top 1 points 1 year ago

It does do that. If you have embark-act bound to C-., then C-. i inserts the current minibuffer completion candidate into the buffer from which you ran the command that opened the minibuffer.