Skip to content
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

Option for always-active completions #356

Open
jmoore34 opened this issue Mar 24, 2022 · 3 comments
Open

Option for always-active completions #356

jmoore34 opened this issue Mar 24, 2022 · 3 comments
Labels
A-Completions Area: Tab completion and inline hint completions enhancement New feature or request

Comments

@jmoore34
Copy link
Contributor

jmoore34 commented Mar 24, 2022

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 jmoore34 added the enhancement New feature or request label Mar 24, 2022
@sholderbach sholderbach added the A-Completions Area: Tab completion and inline hint completions label Mar 24, 2022
@elferherrera
Copy link
Contributor

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

@notramo
Copy link

notramo commented Apr 28, 2022

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.

@tobiasBora
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Completions Area: Tab completion and inline hint completions enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants