-
-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Inserting dash with SPC #25
Comments
p.s. I meant to say, I discovered your mode via https://www.manueluberti.eu//emacs/2021/04/12/vertico/ |
Thanks for the kind words.
I want to keep the current behavior and don't want to offer an alternative. It is easy enough to achieve the desired behavior with some small adjustments to the user configuration. You can write your own command and bind it to (define-key vertico-map " " #'minibuffer-complete-word)
(setq completion-styles '(basic)) Note that vertico is compatible with default completion. You can use all the normal |
@manuel-uberti will be happy to hear this! :) |
Oh yes, I am always happy when I write something useful to others. Thank you @rnkn! |
This is much cleaner/easier than what I had. Thanks! |
Hello and thank you for creating
vertico
. Previously I'd tried a few other minibuffer completion modes but nothing ever felt right. You've put an incredible amount of care and attention intovertico
so it just feels right. Your work is much appreciated.Over the years, I've grown very accustomed to inserting "-" (dash) in the minbuffer with the spacebar. This is the default if you're just using regular Emacs
completing-read
with no minibuffer completion modes.I'd like to submit a PR that adds an option to retain this behaviour if that's something you're interested in? If so, would you like this as just a
defcustom
? To achieve this I'd just makeSPC
call a commandvertico-self-insert-space
that either calls(insert ?-)
orself-insert-command
depending on the value of the option.The text was updated successfully, but these errors were encountered: