-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Ctrl-C should copy to clipboard in visual mode - fix for #1896 #1912
Conversation
When yanking to clipboard, the selection should also reset to normal
I'll look into the failing tests shortly. |
You might already know this (I didn't know this when I first started contributing), but you can run only a select few tests using If you have any questions about anything, feel free to drop by our slack :) |
Ah I've been wondering what that failing test was caused by (which was why I wasn't merging). It's caused by an upstream change (more specifically, this PR: microsoft/vscode#28238). I'm fine with merging this and then fixing that upstream change (eventually). |
Submitted PR #1926 to fix the tests. |
@philipmat Why do you say that All other IDEs that I use do not clear the visual selection mode when I press CTRL-C. |
@philipmat Just found that |
@ferrao - in Vim itself - i.e. canon, if you select text and yank it (by either |
@philipmat Sorry I meant With I guess I could do the same with registers, but old habits die hard... |
When yanking to clipboard, the selection should also reset to normal