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

5
14 comments

What JDK/IDE version do you use? Please see Help | About.

What shell is configured for the Terminal?

1
Avatar
Permanently deleted user

IntelliJ IDEA 2019.1.2 Ultimate
Build #IU-191.7141.44
JRE 1.8.0_202

1

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.

0
Avatar
Permanently deleted user

I think it only happens when some text is selected.

2

This behavior is by design when there is active selection.

0
Avatar
Permanently deleted user

I understand that it's a feature and some people might like it, but I would like a feature that it can be disabled.

2
Avatar
Permanently deleted user

maybe we have to write a python script to modify keyboard events.

0
Avatar
Permanently deleted user

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...

1
Avatar
Permanently deleted user
2
Avatar
Permanently deleted user

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.

1
Avatar
Permanently deleted user
1
Avatar
Permanently deleted user

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

0

This issue was fixed almost a year ago.

0

Please sign in to leave a comment.