monnef
monnef

Reputation: 4053

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.

Upvotes: 23

Views: 6210

Answers (3)

user2540711yo
user2540711yo

Reputation: 626

  1. Go to Settings -> Keymap -> Editor Actions.
  2. Right click 'Paste from X clipboard'.
  3. Select 'Remove Button2 Click'.
  4. Apply.

Upvotes: 34

James
James

Reputation: 300

This worked for me: Go to Settings -> Keymap and select 'Default' from the 'Keymaps:' dropdown in the top left - Or at least select away from 'Default for XWin Copy'. Then remove 'Button2 Click' from 'Paste from X clipboard.'

This is a bit of a pain because it resets all your keymaps, but at least it fixes middle click.

Upvotes: 16

CrazyCoder
CrazyCoder

Reputation: 402335

It's a known issue, please follow for updates:

  • IDEA-168643 2017 EAP - Middle mouse click always pastes

Upvotes: 3

Related Questions