From 0dff71d11e347a264aa4a64a991215f8d06af14e Mon Sep 17 00:00:00 2001 From: Aaron Jensen Date: Thu, 25 Apr 2024 08:33:36 -0400 Subject: [PATCH] Visual line motions are screen-line motions --- evil-commands.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/evil-commands.el b/evil-commands.el index bde14d61..b579903b 100644 --- a/evil-commands.el +++ b/evil-commands.el @@ -136,7 +136,7 @@ Only reliably usable via `evil-visual-eol-anchored-p'.") (evil-define-motion evil-next-visual-line (count) "Move the cursor COUNT screen lines down." - :type exclusive + :type screen-line (let ((line-move-visual t)) (when (eq most-positive-fixnum temporary-goal-column) (setq temporary-goal-column (current-column))) ; Fix #1876 @@ -145,7 +145,7 @@ Only reliably usable via `evil-visual-eol-anchored-p'.") (evil-define-motion evil-previous-visual-line (count) "Move the cursor COUNT screen lines up." - :type exclusive + :type screen-line (let ((line-move-visual t)) (when (eq most-positive-fixnum temporary-goal-column) (setq temporary-goal-column (current-column))) ; Fix #1876