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

Apply autosuggestion word by word #1262

Closed
cvogt opened this issue Jan 23, 2014 · 2 comments
Closed

Apply autosuggestion word by word #1262

cvogt opened this issue Jan 23, 2014 · 2 comments

Comments

@cvogt
Copy link

cvogt commented Jan 23, 2014

Sometimes an autosuggestion comes close to what you need, but not exactly. Let's say I want to push a branch to origin with git. I might get an autosuggestion after typing git

$ git push origin master

If I press right I get the whole thing. But often I want to push somewhere else or some other branch (or call tar - xzf on a different file or else). Deleting the wrong stuff from the end takes longer than just ignoring the suggestion. Helpful would be if I could accept the suggestion word by word. Let's say using shift-right. Then I could accept only the words I need and continue typing when I need something else.

@ridiculousfish
Copy link
Member

Try alt-right (or option-right on a Mac).

@cvogt
Copy link
Author

cvogt commented Jan 23, 2014

That was easy. Great :).

I know this is an os feature, but maybe this should be documented here as a reminder: http://fishshell.com/docs/current/tutorial.html#tut_autosuggestions

@cvogt cvogt closed this as completed Jan 23, 2014
geoff-nixon pushed a commit to pullreq/fish-shell that referenced this issue Feb 5, 2014
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 19, 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

No branches or pull requests

2 participants