Something I’ve missed from time to time in Kakoune is the ability to move up and down by a physical line in text that is soft-wrapped within the window, especially word-wrapped text. In case anyone else interested hadn’t noticed it, @mawww added experimental support for this in
I’ve just been trying it out and so far it seems great, although I’ve not really concocted many edge cases to test yet.
This is indeed very exciting! I haven’t replaced the regular jk with it yet, so since I only use it occasionally I haven’t encountered any edge cases. I would love versions of gh, gl and gi that operate on physical lines.
In a window that’s not using the wrap highlighter, gd and gu will behave just like j and k. If the wrap highlighter is enabled and the cursor is on a line long enough to wrap, then gd will move the cursor to the next line down on the screen (i.e. further along the same physical line of the file).