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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pasting in visual mode doesn't update the default buffer's contents #1991
Comments
@nikklassen I believe this is an issue specific to visual line mode, not visual mode, right? |
I observed this behaviour in both visual line and visual mode. |
To be more exact, this is actually an issue specific to having the text being pasted be linewise. For example, with |
Sorry, yes. That is correct. The expected behaviour is observed if the text was yanked using a visual selection or a motion like |
I'm seeing the same result in vim as we're getting in VSCode. I get this in both:
I'm seeing the expected behaviour for this ticket when doing something like |
@innerdaze I can't reproduce what you're saying in vim. I get the expected
|
The VSCodeVim team prioritizes issues based on reaction count.
This a BUG REPORT:
Environment:
What happened:
When "pasting over" a selection in visual (or visual line) mode, the text that is removed by that paste isn't put in the default buffer.
What did you expect to happen:
The removed text should now be the contents of the default buffer.
How to reproduce it:
Starting with the text
Do
This results in
In Vim the results are
Note: there are extraneous newlines in the VSCode output, but I believe this is a separate issue.
The text was updated successfully, but these errors were encountered: