aligrudi / neatvi

A small vi/ex editor for editing UTF-8 text

Home Page:http://litcave.rudi.ir/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

deletion of newline with dw

kyx0r opened this issue · comments

commented

Hello @aligrudi when using dw to delete a word if the word is touching the \n the \n is deleted also. Is that a bug or a feature? I know that busybox vi does not delete the \n

commented

One thing to note that this can be worked around if you use de or dE in this situation, or ce or C and it will not wrap into next line

commented

Yes, I think this is actually fine to stay like that, it was just weird to me that it worked this way. But I just have to adjust my editing skills to use different key combo in those situations.