tennoseremel,
@tennoseremel@lor.sh avatar

Can I make vertico to not apply to file path prompts? I kind of don't like hitting the filesystem with each keystroke, cached or otherwise.

dump_stack,
@dump_stack@lor.sh avatar

@tennoseremel, is it something like smex?

tennoseremel,
@tennoseremel@lor.sh avatar
dump_stack,
@dump_stack@lor.sh avatar

@tennoseremel, yes, it does look similar to https://github.com/nonsequitur/smex.

holgerschurig,

@dump_stack @tennoseremel No, not at all. Very unlike smex.

Smex is an M-x enhancement. And as such, it doesn't deal with paths at all.

Vertico however is a replacement for completing-read. And it therefore enhances ANY use of conpleting-read anywhere in Emacs. Including M-x but also a hundred other places.

BTW, one way to disable Vertico for specific functions like find-file is to use defadvice. Turn vertico-mode off, run the original function, then turn it back on.

While I would use :around advice, :before and :after might be easier for beginners. Here's a real life example: https://genehack.blog/2020/05/even-more-emacs-advice/ (the gory details are in the Emacs manuals)

  • All
  • Subscribed
  • Moderated
  • Favorites
  • emacs
  • kavyap
  • mdbf
  • osvaldo12
  • ethstaker
  • tacticalgear
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • modclub
  • Youngstown
  • everett
  • slotface
  • rosin
  • GTA5RPClips
  • provamag3
  • khanakhh
  • cisconetworking
  • tester
  • ngwrru68w68
  • normalnudes
  • Durango
  • InstantRegret
  • cubers
  • megavids
  • Leos
  • anitta
  • JUstTest
  • lostlight
  • All magazines