Open
Description
Issue type
- Bug report
Environment
Emacs version: 26.2
Operating System: Arch Linux
Evil version: evil-git-297b8f3
Evil installation type: manual (git checkout)
Graphical/Terminal: X11
Tested in a make emacs
session (see CONTRIBUTING.md): Yes
Reproduction steps
- Start Emacs
- Open any multi-line file
- Start a (character-wise) visual selection, select a few lines and yank them: vjjjy
- Paste the selection with p
Expected behavior
In vim the cursor remains before the pasted section.
Actual behavior
With evil the cursor is moved after the pasted section.
Further notes
Doing the same selection line-wise (with Vjjjyp) does not move the cursor after the pasted section. Therefore with evil the behavior appears to be inconsistent depending on the type of selection made.
In vim the cursor always remains before the pasted section regardless of how the selection was made (you have to use gp to move the cursor after paste, but this doesn't appear to exist in evil).
Metadata
Metadata
Assignees
Labels
No labels