-
Notifications
You must be signed in to change notification settings - Fork 67
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
Tab completion #6
Comments
Definitely on the list. |
To me, tab completion is the top priority. Without it, it's really hard to use. |
Here is a overview how to approach this: 1) Tab-based autocompletionsFirst step and quickest way to get to autocompletions is to integrate existing defitions from fish, zsh, bash. I've already done some experiments on that: https://github.com/dundalek/commandray/tree/master/vendor 2) Fish-like auto-suggestions as you typeOnce we have autocompletions we can improve the experience by implementing fish-like auto-suggestions as you type. From fish-shell/fish-shell#3567 :
For inspiration this is a plugin for auto-suggestions for zsh. 3) Autocompletion menuNext step is to show visual menu where multiple suggestion can be displayed and user can navigate to choose. I like the visual style of autocomplete as seen in gitsome. Parsing manual pagesAs a bonus for the future we can try to parse manual pages to enable autocompletion for unknown or custom commands. I've opened a separate issue for that. |
Another cool enhancement would be to offer suggestions from tldr. |
Closing this as the initial tab completion has been implemented. Further improvements are tracked in: #40 |
Having intelligent tab completion would be great 🥇
The text was updated successfully, but these errors were encountered: