Skip to content

Commit 0dff71d

Browse files
committed
Visual line motions are screen-line motions
1 parent fe44a56 commit 0dff71d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

evil-commands.el

+2-2
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ Only reliably usable via `evil-visual-eol-anchored-p'.")
136136

137137
(evil-define-motion evil-next-visual-line (count)
138138
"Move the cursor COUNT screen lines down."
139-
:type exclusive
139+
:type screen-line
140140
(let ((line-move-visual t))
141141
(when (eq most-positive-fixnum temporary-goal-column)
142142
(setq temporary-goal-column (current-column))) ; Fix #1876
@@ -145,7 +145,7 @@ Only reliably usable via `evil-visual-eol-anchored-p'.")
145145

146146
(evil-define-motion evil-previous-visual-line (count)
147147
"Move the cursor COUNT screen lines up."
148-
:type exclusive
148+
:type screen-line
149149
(let ((line-move-visual t))
150150
(when (eq most-positive-fixnum temporary-goal-column)
151151
(setq temporary-goal-column (current-column))) ; Fix #1876

0 commit comments

Comments
 (0)