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

[Bug]: Small inconsistency with cw: single letter words #40

Open
3 tasks done
bluss opened this issue Mar 30, 2024 · 2 comments
Open
3 tasks done

[Bug]: Small inconsistency with cw: single letter words #40

bluss opened this issue Mar 30, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@bluss
Copy link

bluss commented Mar 30, 2024

Make sure you have done the following

Bug Description

If we'd want to have backwards compatibility with regular cw, then this case is not covered:

c<cmd>lua 
^  cursor on first letter

ce on the single letter word c initates a change word of the whole chunk c<cmd.
I'm talking about ce here because that's described as the "vanilla nvim cw behaviour".

Reproduction & Sample Text

c<cmd>lua 
^  cursor on first letter

command cefoo<Esc>

Actual text after: foo>lua

Expected text after foo<cmd>lua

neovim version

0.9.5

Special Settings

No response

Thanks for the nice plugin, I think your notion of insignificant punctuation is right. If this issue is just annoying, then let's close it, I just thought it was interesting to discuss this.

@bluss bluss added the bug Something isn't working label Mar 30, 2024
@bluss bluss changed the title [Bug]: Small inconsistency with ce [Bug]: Small inconsistency with cw: single letter words Mar 30, 2024
Copy link

This issue has been automatically marked as stale.
If this issue is still affecting you, please leave any comment, for example "bump", and it will be kept open.

@github-actions github-actions bot added the Stale label Sep 26, 2024
@TheSast
Copy link

TheSast commented Sep 27, 2024

bump

@github-actions github-actions bot removed the Stale label Sep 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants