From 8667a5678f983ba899825b810ab849952d49bcb8 Mon Sep 17 00:00:00 2001 From: Luuk van Baal Date: Fri, 12 May 2023 15:47:25 +0100 Subject: patch 9.0.1545: text not scrolled when cursor moved with "g0" and "h" Problem: Text not scrolled when cursor moved with "g0" and "h". Solution: Adjust w_skipcol when needed. (Luuk van Baal, closes #12387) --- src/edit.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/edit.c') diff --git a/src/edit.c b/src/edit.c index c23b0a8556..64edddce8d 100644 --- a/src/edit.c +++ b/src/edit.c @@ -2734,6 +2734,7 @@ oneleft(void) } curwin->w_set_curswant = TRUE; + adjust_skipcol(); return OK; } -- cgit v1.2.3