Physical line navigation

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.

7 Likes

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.

I bound the up/down arrow keys to gu/gd, leaving j and k unchanged, thinking that way I could get the benefits of both bindings on same keyboard.

1 Like

That’s an interesting idea, I’ll try that out!