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

backward/forward-[kill-]bigword movement incorrect with single-char words #7325

Closed
lilyball opened this issue Sep 10, 2020 · 0 comments
Closed
Labels
bug Something that's not working as intended
Milestone

Comments

@lilyball
Copy link
Contributor

When using the bigword movement or kill bindings (forward-bigword, backword-bigword, etc) the movement is incorrect when the bigword is only one character long. In particular, forward-bigword acts like I'd expect forward-char forward-bigword to act, and similarly for backward. This also affects the kill variant.

For example, given the following, where | is the current character position:

echo a b c d|

Executing backward-bigword produces

echo a b |c d

instead of the expected

echo a b c |d

asciicast

fish 3.1.2

@faho faho closed this as completed in 0e9b496 Sep 11, 2020
@faho faho added the bug Something that's not working as intended label Sep 11, 2020
@faho faho added this to the fish 3.2.0 milestone Sep 11, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 10, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something that's not working as intended
Projects
None yet
Development

No branches or pull requests

2 participants