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

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


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


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.


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

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