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

[vi-mode] bug: incorrect b behavior #10393

Open
johnpyp opened this issue Mar 24, 2024 · 0 comments
Open

[vi-mode] bug: incorrect b behavior #10393

johnpyp opened this issue Mar 24, 2024 · 0 comments
Labels

Comments

@johnpyp
Copy link

johnpyp commented Mar 24, 2024

Fish: version 3.7.1-1593-g5b324f8ec
OS: Arch Linux
Term: Kitty

Yes, this does happen without third-party customizations.


b is misbehaving, at least with regards to slashes (where I noticed it). Example:

content:

cd /usr/bin/zsh[CURSOR]
# in normal mode, press b
cd /usr/bin/[z]sh # (correct)
# press b again
cd /usr/[b]in/zsh # (incorrect)

Compare this to real vim or neovim;

cd /usr/bin/zsh[CURSOR]
# in normal mode, press b
cd /usr/bin/[z]sh # (correct)
# press b again
cd /usr/bin[/]zsh
# press b again
cd /usr/[b]in/zsh

More clearly, just enter vi mode, press b from the end of the line and compare to vim to see the difference.

Zsh vi mode seems to handle this case fine.

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

No branches or pull requests

2 participants