I have looked all over the Net and can't find a way to disable middle-click paste in the Terminal application in Mavericks? I want it scroll but not paste.

Anybody know how to fix this? I'd sure appreciate the tip.

2 Answers 2


You can use Karabiner (formerly known as KeyRemap4MacBook) with the following setting in private.xml:

<?xml version="1.0"?>
        <name>Disable middle-click</name>
            __PointingButtonToKey__ PointingButton::MIDDLE, KeyCode::VK_NONE
  • This disables middle click globally, not just in Terminal.app. Is there a solution that only affects Terminal.app?
    – user148073
    Mar 31, 2016 at 18:18
  • 1
    @tubes See edit which restricts this to only when Terminal is the frontmost app. This is what I originally intended but the code to restrict it to Terminal wasn't included by the user who added the full private.xml wrapper.
    – grg
    Mar 31, 2016 at 18:24
  • Is there a way to do this without Karabiner? Karabiner caused some problems (disabled my hyperdock window movement hotkeys somehow). I also couldn't find the private.xml file. :/
    – CornSmith
    Oct 16, 2017 at 16:50

I wasn't able to get Karabiner working, but you can use this to disable middle click (or anything else) globally: http://www.usboverdrive.com/USBOverdrive/Download.html

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .