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

Completion candidate descriptions #42

Open
remkop opened this issue May 20, 2020 · 2 comments
Open

Completion candidate descriptions #42

remkop opened this issue May 20, 2020 · 2 comments

Comments

@remkop
Copy link

remkop commented May 20, 2020

This is a follow-up ticket to #41.

Out of the many ways that shells support TAB completion, perhaps fish makes it easiest for users to provide custom completion scripts (with clink's lua a close second). Fish also has the very nice feature that it can display descriptions of options next to the completion candidates. This makes for a very nice user experience.

Would it be possible to provide a similar feature (displaying descriptions next to the completion candidates) in yori?

@malxau
Copy link
Owner

malxau commented May 21, 2020

Can you point me to an illustration/screenshot of how the description feature works? I tried to look for it in the fish documentation and google for it, but I don't think I understand what to look for.

@remkop
Copy link
Author

remkop commented May 21, 2020

Sure, here is a (bit darkish) screenshot: it shows the completion candidates in a column on the left, and the description for each candidate in a right-aligned separate column on the right.

And this article has some animated gifs: https://spin.atomicobject.com/2017/05/25/fish-shell-overview/

The wikipedia article's screenshot shows a few completions.

More here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants