-
Notifications
You must be signed in to change notification settings - Fork 31.2k
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
Add conditional ctrl+c/v to copy on integrated terminal similar to cmd #8818
Comments
+1 that would be nice! |
Terminal shortcuts on Windows, Linux and Mac are different and probably need to be the same for the OS you are using.
Actually currently I'm unable to copy/paste anything to/from VS Code terminal. Right click menu with Copy/Paste options will be helpful. P.S. Probably the problem that I have is related only to Linux (Ubuntu 14.04) |
@vstoykov Insiders currently allows ctrl+shift+c/v on Windows and Linux, this is coming to Stable in a week or so. It also contains a context menu 😃 For Linux you can also use middle click to paste selection into the terminal, use this if you're sticking to stable for the time being. |
@Tyriar thanks for the info. I will wait for now until new stable version is ready. |
A change was just made that allows rebinding the terminal commands to anything and they should skip the terminal and work. This means that ctrl+c/v can be bound to copy and paste now, a You can try this in Insiders tomorrow. |
@Tyriar {
"key": "ctrl+c",
"command": "workbench.action.terminal.copySelection",
"when": "terminalTextSelected"
}
] I see that keyboard combination for copy changed in the menu But actually it doesn't work, maybe some other condition not |
@whitecolor the work in this issue is essentially to add |
Hey @alexandrudima, from what I can see all information around a command's context keys are currently private. Is it possible to expose this so that I can use So given a set of command IDs ( |
@Tyriar I've read through this issue, but I'm not fully understanding what you mean.
Is this what you mean? |
@alexandrudima basically yeah, currently if the keybinding pressed matches one of the commands in some list it will pass it through. The problem is when implementing this is that I only want to have ctrl+c skip xterm only if the |
I've extracted #14603 so we don't forget about it. |
Didn't forget? |
I actually forgot about the branch I was working on for this, just merged into master! |
From @bldesign in #6451 (comment)
The text was updated successfully, but these errors were encountered: