gabesoft / evil-mc

Multiple cursors implementation for evil-mode
MIT License
383 stars 35 forks source link

Misaligned cursors after $ (evil-end-of-line) and move up or down #94

Closed duianto closed 4 years ago

duianto commented 4 years ago

Description

The cursors become misaligned after pressing $ (evil-end-of-line) then up k or down j.

Reproduction steps:

Observed:

misaligned_cursors

The cursors are now in different columns. The main cursor is on the third lines last character. The fake cursor is after the second lines last character.

Expected:

The fake cursor should be in the same column as the main cursor.

Note:

The cursors keep their positions in different columns when they are moved up or down, as long as they don't move above the buffers first line or below the last line.

Current workaround:

The cursors become aligned again when they are moved to the left: h The main cursor moves to the left once, but the fake cursor moves to the left twice.

System Info:

Evil-mc Version: 20190321.1606 Evil version 1.2.14 GNU Emacs 26.2 (build 1, x86_64-w64-mingw32) of 2019-04-13 Windows 10 Version 1903

duianto commented 4 years ago

The cursors remain aligned now, thanks.