Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Disable Intellij auto copy to clipboard

I like using Intellij. It has many great features, but I also dislike the fact that it auto-copy selection to clipboard during some actions (selection with some mouse events, with deletion, some keyboard shortcuts I guess other than "copy" etc, I don't know exactly which ones, but it does happen for sure). Is there a way to disable that?

Of course, I can use "paste from history" but it is a pain: I know that I have copied the good text with the keyboard shortcut, why another motion has overriden my clipboard? I have to right click and check etc... it is way too slow.

I would like only "right click copy" and "keyboard shortcut copy" to be the only motions that can copy content to clipboard.

I have the problem on Windows 7 64 bits, Intellij 12, but I had it on Intellij 11 too.

For instance: shift+del (delete line) auto-copy content to clipboard.

like image 830
zenbeni Avatar asked Oct 17 '13 13:10

zenbeni


1 Answers

To disable this in the terminal -

Settings > Tools > Terminal: Uncheck "Copy to clipboard on selection"

This was most painful for me when using the terminal, when i'm trying to paste jira tickets into my commit message and it gets overwritten because I applied too much pressure to the track pad.

like image 165
Kevin S Avatar answered Sep 29 '22 14:09

Kevin S