evil
evil copied to clipboard
Visual line motions are screen-line motions
Operations like dj do not work as expected when evil-respect-visual-line-mode is t. It deletes to where the j motion would go, rather than deleting the current line and the next line.
This change makes them work, but I do not know what other impact it may have. Any guidance on testing or accomplishing this in another way would be appreciated. Thank you.
The line type is not right here - will that not make them operate on logical lines? Instead, could you try changing to the screen-line type?
That seems to work too. I don't know the difference between the two. Aren't visual lines logical lines? Or does that mean something else?
In Emacs terminology a single logical line (terminated by a \n) can be soft-wrapped as several visual lines.^1
Ah, not what I expected "logical" to mean. Thanks. I updated the PR.
@axelf4 does this one look OK? anything else I should update?