4 ms·
> there's packages that show you what options you have for what key to press next Rejoice! The excellent which-key package that does this comes bundled with Em
by ashton314 2y ago
> there's packages that show you what options you have for what key to press next
Rejoice! The excellent which-key package that does this comes bundled with Emacs 30! (Emacs 30 will probably be released soon.)
> enter command… default UX is a bit weak
Agreed: the packages Helm, Ivy, and Vertico make this interface much nicer. I use Vertico [1] personally. Though, from Emacs 29, there are some really nice options you can set. I used the following in my Bedrock starter kit [2] to get nicer tab-completion: as soon as you hit TAB twice you'll get bumped into the Completion buffer to select something with your cursor.
Here's the relevant config:
(setopt completion-auto-help 'always) ; Open completion always; `lazy' another option
(setopt completions-max-height 20) ; This is arbitrary
(setopt completions-detailed t)
(setopt completions-format 'one-column)
(setopt completions-group t)
(setopt completion-auto-select 'second-tab) ; Much more eager
;(setopt completion-auto-select t) ; See `C-h v completion-auto-select' for more possible values
There's more configuration options, of course, but this is helpful:
[1]: https://github.com/minad/vertico https://github.com/minad/vertico
[2]: https://codeberg.org/ashton314/emacs-bedrock https://codeberg.org/ashton314/emacs-bedrock
- spauldo 2y agowhich-key made it in? Sweet! I've been saying for years it should be in Emacs and turned on by default.