How can I disable middle click paste in iTerm 2. I use MiddleClick to enable three finger tap on my MacBook Pro. When in iTerm2 I often hit the touchpad with my wrist which triggers a middle click paste in iTerm2 and a creates mess of code in my VIM. iTerm2's documentation says that the behavior is default but I do not see an option to disable it. Any ideas?
Click “Activities” in the upper right and search for “tweaks”, click the “Tweaks” icon. Select “Keyboard & Mouse” and turn “Middle Click Paste” to “on”. Once you've done that, clicking the middle mouse button will paste text from your clipboard back into the terminal.
To do that, go to System Preferences > Security & Privacy > Privacy. Then, select Accessibility and check the box next to MiddleClick. You should now be able to middle-click by pressing or tapping with three fingers on a trackpad. If you use a Magic Mouse, perform a three-fingered tap to middle-click.
Whenever you drag-highlight or double-click text, it copies to the clipboard buffer. Then you can middle-mouse-click in any window to paste it.
iTerm Preferences / Pointer tab:
Change (or Delete) the Middle button single click action (highlighted line in image below).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With