patch 9.0.1761: g<kEnd> behaves different from g<end>

Problem:  g<kEnd> behaves different from g<end>
Solution: Make g<kEnd> behave like g<End>

closes: #12861

Signed-off-by: Christian Brabandt <cb@256bit.org>
Co-authored-by: zeertzjq <zeertzjq@outlook.com>
This commit is contained in:
zeertzjq
2023-08-20 18:24:20 +02:00
committed by Christian Brabandt
parent 6ac1544e13
commit 654bdbbd32
4 changed files with 12 additions and 5 deletions

View File

@ -255,7 +255,8 @@ g$ When lines wrap ('wrap' on): To the last character of
instead of going to the end of the line.
When 'virtualedit' is enabled moves to the end of the
screen line.
*g<End>*
*g<End>* *g<kEnd>*
g<End> Like |g$| but to the last non-blank character
instead of the last character.