-
I am using vertico without orderless and want to get back the usual behaviour where tab completion fills the minibuffer with the common matching substring of matches. So, for example I have in the minibuffer:
and vertico is prompting with:
I want TAB to make the minibuffer complete to:
as with default emacs completion behaviour. Currently, TAB does nothing but display the vertico matches. Can't work out how to do this with vertico. Any help appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 10 replies
-
See https://github.com/minad/vertico?tab=readme-ov-file#completion-styles-and-tab-completion. You probably want to bind TAB to |
Beta Was this translation helpful? Give feedback.
-
Found it. Consult mode was being used and so it had to be set like this:
|
Beta Was this translation helpful? Give feedback.
-
Finally found the issue. Vertico uses
Fixes it. It seems to go into a recursive minibuffer thing with the consult function and you need to press return as many times as you pressed TAB to complete to get the actual file selected to display. |
Beta Was this translation helpful? Give feedback.
Finally found the issue. Vertico uses
consult-completion-in-region
which was the issue. Setting:Fixes it. It seems to go into a recursive minibuffer thing with the consult function and you need to press return as many times as you pressed TAB to complete to get the actual file selected to display.