reedline icon indicating copy to clipboard operation
reedline copied to clipboard

Option for always-active completions

Open jmoore34 opened this issue 3 years ago • 3 comments

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 and cd.

navigate1

Nested folders in particular are very easy to navigate just by pressing 'tab' over and over:

nested

Related: #357

jmoore34 avatar Mar 24 '22 21:03 jmoore34

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

elferherrera avatar Apr 07 '22 08:04 elferherrera

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.

notramo avatar Apr 28 '22 09:04 notramo

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.

tobiasBora avatar Nov 03 '22 18:11 tobiasBora