From e550974ccf28526609cdecf79976c5238479eb6a 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 dccd254c..939bf768 100644 --- a/evil-commands.el +++ b/evil-commands.el @@ -123,13 +123,13 @@ of the line or the buffer; just return nil." (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)) (evil-line-move (or count 1)))) (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)) (evil-line-move (- (or count 1)))))