~As-you-type completion in shell (but not everywhere?)
bew opened this issue · comments
Existing plugin: https://github.com/marlonrichert/zsh-autocomplete
(note: nice plugin organization!)
BUT NOTE that it seems to come with its own completion engine, and its key bindings, and its own completion config (may be interesting to take some things!)...
I'd like to have like vim: C-n/p and M-hjkl, allow the use of TAB to enter the interactive completion system (the builtin from zsh).
To me, the ideal plugin should do only auto complete thing, not override everything, do its own config, come with its own widgets, ....
And "not everywhere", because some completion functions are expansive, I wouldn't want to have them auto-triggered when I don't need them (e.g: nix run pkgs#<TAB>
)
Since 325f1eb I enabled the interactive mode of the menu completion system of zsh, and I can refine the listed completions as-I-type once I triggered the completion menu.
(it was builtin, crazy right??)
Though it's a bit buggy, like:
dotfiles/zsh/rc/completions.zsh
Lines 29 to 42 in 325f1eb
And a few others (look for bug report
& feature req
in that file)