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

Multiple cut works with d but not with x. #290

Open
colomb8 opened this issue Jan 14, 2025 · 0 comments
Open

Multiple cut works with d but not with x. #290

colomb8 opened this issue Jan 14, 2025 · 0 comments

Comments

@colomb8
Copy link

colomb8 commented Jan 14, 2025

Describe the issue:

Multiple cut works with d but not with x.

Steps to reproduce

  1. consider the following text:
abc CASE_1 mario
cde CASE_2 luigi
  1. go on char 1 then press C-Down. Now we have 2 cursors, the first on 1 and the second on 2.
  2. press "x" to cut the two digits. Now we have:
abc CASE_ mario
cde CASE_ luigi
  1. Then try to paste them again with p, in any position. It pastes the previous text yanked (if exist, otherwise it duplicates the lines), but not 1 and 2, since it seems that while in V-M mode x deletes but doesn't copy.

Note: a workaround that works is to use dl or dh instead of x. So...I would expect that also x should work.


  • Operating System: Debian on WSL
  • Vim Version: VIM - Vi IMproved 9.1 (2024 Jan 02, compiled Dec 19 2024 15:28:19) Included patches: 1-945
  • commit SHA/branch: commit a6975e7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant