Skip to content

Commit

Permalink
Visual line motions are screen-line motions
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronjensen committed May 5, 2024
1 parent 76667a1 commit e550974
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions evil-commands.el
Original file line number Diff line number Diff line change
Expand Up @@ -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)))))

Expand Down

0 comments on commit e550974

Please sign in to comment.