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

Add a new complete-until command #1029

Closed
wants to merge 1 commit into from
Closed

Conversation

romaia
Copy link
Contributor

@romaia romaia commented Oct 6, 2013

When binding the key to the 'complete' command, and pressing
multiple times, the default behaviour is to cycle through all the possible
options.

This adds the 'complete-until' command, that will not do this, but will
instead, complete until the common prefix, and do nothing more.

This is an alternative to the pull request proposed on pull #974 by @gfxmonk

When binding the <tab> key to the 'complete' command, and pressing <tab>
multiple times, the default behaviour is to cycle through all the possible
options.

This adds the 'complete-until' command, that will not do this, but will
instead, complete until the common prefix, and do nothing more.
@timbertson
Copy link
Contributor

Can any project member provide a response on merging this? It's pretty unobtrusive, and a huge help to those who dislike the default behaviour.

@KamilaBorowska
Copy link
Contributor

This was already fixed by #1282. Closing.

@timbertson
Copy link
Contributor

@xfix, I believe that bug is about restoring the "cycle through all completions" behaviour, which was broken at some point. This PR is about adding a binding which intentionally does not cycle through all completions, because many people want to be able to press tab and have it only complete the longest common prefix if there are multiple matches (as most other shells do).

@ridiculousfish
Copy link
Member

Yeah, that matches my understanding too - reopening.

@ridiculousfish ridiculousfish reopened this Feb 9, 2015
@ridiculousfish
Copy link
Member

I think this is obviated by the new pager. Closing. Please speak up if you think something remains to be done here.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 17, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants