diff options
| author | Axel Forsman <axel@axelf.se> | 2025-02-26 18:47:55 +0100 |
|---|---|---|
| committer | Axel Forsman <axel@axelf.se> | 2025-02-27 19:31:51 +0100 |
| commit | ad3e95f6e3253ddf2d33377ebbff7c82082ab75a (patch) | |
| tree | 49bc46b3e0ac8c656cc071d989e97789add0d0ba /evil-commands.el | |
| parent | 5cc78bb22533482fdd5905f10950408156eb40a1 (diff) | |
Fix g$ putting cursor on start of next visual line
Normal mode "g$" put the cursor on the start of the next visual line
instead of the end of the current one.
Fixes #1244, fixes #1963
Diffstat (limited to 'evil-commands.el')
| -rw-r--r-- | evil-commands.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/evil-commands.el b/evil-commands.el index 0d0a1e8..9b350ee 100644 --- a/evil-commands.el +++ b/evil-commands.el @@ -176,7 +176,8 @@ If COUNT is given, move COUNT - 1 lines downward first." "Move the cursor to the last character of the current screen line. If COUNT is given, move COUNT - 1 screen lines downward first." :type inclusive - (end-of-visual-line count)) + (end-of-visual-line count) + (evil-move-cursor-back t)) (evil-define-motion evil-end-of-line-or-visual-line (count) "Move the cursor to the last character of the current screen |
