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

Modal Menus #789

Open
CabalCrow opened this issue May 15, 2024 · 0 comments
Open

Modal Menus #789

CabalCrow opened this issue May 15, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@CabalCrow
Copy link

Currently you need to press a keybind to activate any of the menus (help, completion, etc.). Being able to see the menu suggestions all the time would be a great - similar to how you would use autocompletion in IDE.
Modal menus would mean that instead of having to press a keybind to activate them, they are always active. Instead of pressing a keybind to activate the menu itself, the keybinds can be used to switch between different menu - hence modal.

The downside of this approach is that menus take a big part of the screen & this would hide the output from previously ran commands. This could make it hard to work with smaller terminals. Because of this, modal menus should be an opt-in option.

References

zsh has a plugin that does this for the completion menu in zsh: https://github.com/marlonrichert/zsh-autocomplete
It also has an extra feature for fuzzy searching through completion or history items as seperate menus (ctrl-s/r in zsh-autocomplete).

@CabalCrow CabalCrow added the enhancement New feature or request label May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant