News for hackers. Stuff that matters.
Re:Vimflowy by chrismorgan on Thursday November 05, 2020 @01:41AM (#24996138)
> the invariant that c<motion> is equivalent to d<motion>i

Nit: that invariant also doesn’t work when the motion takes you to the end of the line because of how the cursor is one character wide in normal mode and zero characters wide in insert mode. On a buffer “asdf jkl” with the cursor on the letter f, c$x gets you “asd|” (| representing the cursor location), whereas d$ix gets you “as|d”.

There are no comments on this comment yet.