Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to disable middle mouse click paste in IntelliJ IDEA 2017.1?

I have recently updated from version 2016.2 to 2017.1. Not counting this issue, it looks like all settings and plugins were imported from previous version successfully.

My question is, how to disable this behavior under Linux? I have already bound functionality to my middle button in IDEA, but it is being overwritten by that stupid second clipboard paste which I don't even use.

Only related thing I found in settings was Paste on middle mouse click in Terminal. It did not change anything in the normal main editor pane.

Edit: Few months later and it is still not fixed in current IDEA version. I am paying for the IDE and this feels like being ripped off.

like image 970
monnef Avatar asked Mar 23 '17 11:03

monnef


People also ask

What is middle click Paste?

Middle-clicking should be pasting the primary selection by default, not the clipboard selection. However, if you select text and then do a control-C, both selections will have that text in them, until you select something else. – user43870. Nov 11, 2021 at 13:36. 1.


1 Answers

  1. Go to Settings -> Keymap -> Editor Actions.
  2. Right click 'Paste from X clipboard'.
  3. Select 'Remove Button2 Click'.
  4. Apply.
like image 94
user2540711yo Avatar answered Oct 18 '22 16:10

user2540711yo