aligrudi / neatvi

A small vi/ex editor for editing UTF-8 text
http://litcave.rudi.ir/
320 stars 27 forks source link

"cw" and last word of line #46

Closed polluks closed 2 years ago

polluks commented 2 years ago

Hi! The next line is affected, this behavior doesn't seem standard to me.

aligrudi commented 2 years ago

Hi Stefan,

Stefan @.***> wrote:

The next line is affected, this behavior doesn't seem standard to me.

The problem is that the behaviour of cw in Neatvi is not compatible with the standard vi. In vi, cw is handled as a special case; it is not equivalent to "change till the destination of w movement". Neatvi does not do that and w in cw is handled as an ordinary movement.

Ali
polluks commented 2 years ago

Aha, more vi than vi :-)