nvim-spider icon indicating copy to clipboard operation
nvim-spider copied to clipboard

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

Open bluss opened this issue 1 year ago • 2 comments

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 avatar Mar 30 '24 11:03 bluss

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[bot] avatar Sep 26 '24 17:09 github-actions[bot]

bump

TheSast avatar Sep 27 '24 11:09 TheSast