Ctrl+C and Ctrl+Shift+C swapped in terminal
Answered
In the IDEA Terminal, pressing Ctrl+C copies the selection and Ctrl+Shit+C sends the ^C signal to the shell (keyboard interrupt). The same with Ctrl+V (Paste) and Ctrl+Shift+V (^V). I don't like this and want Ctrl+C to send ^C to the shell and Ctrl+Shift+C to copy selection (and same for Ctrl+V). Is there any way to do this? I've looked in Settings -> Tools -> Terminal, and Settings -> Keymap but couldn't find anything.
IntelliJ 2019.1 Ultimate, Ubuntu
Please sign in to leave a comment.
What JDK/IDE version do you use? Please see Help | About.
What shell is configured for the Terminal?
IntelliJ IDEA 2019.1.2 Ultimate
Build #IU-191.7141.44
JRE 1.8.0_202
Can't reproduce. May be specific to your shell or IDE keymap settings.
Try to move/rename IDE folders to start with all the defaults (https://intellij-support.jetbrains.com/hc/articles/206544519).
Override IDE Shortcuts option may affect the behavior.
I think it only happens when some text is selected.
This behavior is by design when there is active selection.
I understand that it's a feature and some people might like it, but I would like a feature that it can be disabled.
Request is welcome at https://youtrack.jetbrains.com/issues/IDEA.
maybe we have to write a python script to modify keyboard events.
I think I understand you question. Do you want to know how to use ctrl+shift+c to copy and ctrl+shift+v to paste in terminal instead ctrl+c and ctrl+v, right? I think it is not possible to change these keyboard shortcuts...
Filed an issue: https://youtrack.jetbrains.com/issue/IDEA-230084
Guys, this is really annoying. Ctrl+ shift+c is for copying. Ctrl+c is for termination. Please try not to mess with the shell. Get your terminal right. I usually have 6, 7 terminals running in my typical workflow and yours is only one or two of them. So changing ctrl+c behavior is kind of irritating. At least give us a way to remap.
Soon we are going to work on https://youtrack.jetbrains.com/issue/IDEA-230084
I agree with @.... Using shortcuts like this is muscle memory. Having to think about what to command to use make me mess my terminal a lot
This issue was fixed almost a year ago.