1. Frank Fischer
  2. evil
  3. Issues
Issue #202 resolved

Pasting an empty string from a register incorrectly moves cursor

Lintaro INA
created an issue

Running (set-register ?x "") and writing some text in insert state followed by C-r x inserts nothing (correctly) but it moves cursor to BOL (by (forward-char) at the end of evil-paste-from-register).

The culprit is evil-paste-before, which should return yanked text (according to the documentation) but it doesn't because of the use of evil-with-undo.

Comments (1)

  1. Log in to comment