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

progress in recommended phrase by one word-bound #801

Open
c4lliope opened this issue Jun 22, 2024 · 1 comment
Open

progress in recommended phrase by one word-bound #801

c4lliope opened this issue Jun 22, 2024 · 1 comment

Comments

@c4lliope
Copy link

(cursor is marked using |...)

~> shell $machine.base| ls /home/user/some/place

In reedline I can use [tab] and see many recommended commands, or [->] and use the single recommended one rendered semi-opaque on the engaged command line.

Can I skip ahead in the recommendation, phrase by phrase?
I'm sure anyone can imagine motion bindings already,
so maybe a keybinding option? May already be in place; in case so, sorry.

@sholderbach
Copy link
Member

This is provided in the default mappings with Ctrl-Right or as the ReedlineEvent::HistoryHintWordComplete for the greyed out hints. Those are history autosuggestions as provided by us (there is the possibility of implementing a Hinter for other completion sources). For the items for the tabcompletion list we do not have a token by token mechanism so far (challenging regarding UX when it should walk through the list vs when it should move through tokens)

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