Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iTerm2 Disable Middle Click Paste

Tags:

iterm2

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?

like image 700
Leo Net Avatar asked Sep 01 '15 19:09

Leo Net


People also ask

How do I enable the middle click for paste in Linux?

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.

How do you middle click on a Mac Magic Mouse?

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.

How do you highlight on Mac clipboard?

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.


1 Answers

iTerm Preferences / Pointer tab:

Change (or Delete) the Middle button single click action (highlighted line in image below).

enter image description here

like image 70
SushiHangover Avatar answered Oct 22 '22 11:10

SushiHangover