Open jmoore34 opened 2 years ago
I would make it a mode that you can get in and out with an event. I wouldn't want completions all the time while writing a pipeline in nushell
Why would it need a mode? They are displayed, but inserted only when you press Tab.
The command line mode (:
) of the Kakoune editor also has this feature.
I'd love this, not having a better completion like the one provided by the aforementionned library is a showstopper for me for using nushell. Ideally it would also work for any kind of completion, and display the description of the command options. Fuzzy matching for the path (like the one provided by ido on emacs) would also be extremely helpful.
One feature of zsh-autocomplete we might consider adding an option for is always-active completions, i.e. you don't need to press tab to open the completion menu.
One use case of this is that is makes navigating around the filesystem easier as you don't have to alternate between
ls
andcd
.Nested folders in particular are very easy to navigate just by pressing 'tab' over and over:
Related: #357