Skip to content

Evil-end-of-visual-line won't go to end of line #1964

@Passky

Description

@Passky

Steps to reproduce:
emacs -q -l test.el
test.el:

(package-initialize) ; evil already installed
(evil-mode)
(visual-line-mode)
(setq evil-respect-visual-line-mode t)

open a random file,
insert a aaaaaa
enter normal state press A
Expected result( | is the cursor):
aaaaaa|
Indeed:
Image
I believe this is introduced by ad3e95f. and can be restored by

(with-eval-after-load 'evil-commands
	(evil-define-motion evil-end-of-visual-line (count)
	"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)))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions