Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Range Yank moves cursor location #1230

Open
jcowgar opened this issue Dec 23, 2019 · 0 comments
Open

Range Yank moves cursor location #1230

jcowgar opened this issue Dec 23, 2019 · 0 comments
Labels

Comments

@jcowgar
Copy link

jcowgar commented Dec 23, 2019

Issue type

  • Bug report

Environment

Emacs version: GNU Emacs 26.3 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.11) of 2019-09-23, modified by Debian
Operating System: Ubuntu 19.10
Evil version: 1.13.0
Evil installation type: doom emacs
Graphical/Terminal: X
Tested in a make emacs session (see CONTRIBUTING.md): No

Reproduction steps

  • Start Emacs
  • Create a new file
  • Insert sample text:
    Hello World
    How are you
    I am fine
  • With cursor on line 3, press :1,2y

Expected behavior

  • Cursor should remain in place on line 3
  • Lines 1 and 2 should have been copied to the clipboard

Actual behavior

  • Cursor moves to line 1
  • Lines 1 and 2 are placed in the clipboard as they should be

Further notes

  • Verified the "Expected behavior" Is that of Vim.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants