4

Since MacBook Pro 2015, Apple introduced the "Force Touch" in the Track Pad. When you click it in the Terminal, by default it gives you dictionary/Wikipedia search results.

I would like to change it to a "middle button"-like function as in Ubuntu: copy the selected text into the prompt, without passing via the clipboard and without the need to use the annoying C V sequence. Any ideas?

edit: shift V does the part of copying without passing via the clipboard. now I need to have force touch doing this.

3

Check out BetterTouchTool. This application will let you customize actions based on trackpad gestures (including Force Touch).

Here is the action I have defined:

3 Finger FORCE Click -> Middle Click

With this setting, I can select text in an application (this works well in Terminal and iTerm), and without explicitly copy/pasting, paste with a 3-finger force-click.

  • Interesting! This is a 1st – Melvin Jefferson Jan 26 '18 at 3:36
  • thanks I was able to assign <kbd>shift</kbd><kbd>cmd</kbd><kbd>V</kbd> to Force click. However it is not going as smooth as I would expect because I have to be very precise and concentrated in this click otherwise it will double-paste or change the selection :( – Nir O. Jan 26 '18 at 11:20
  • @NirO. You may have to experiment with different gestures to find the one that works best for you. If you run into an issue where you want to use a simpler gesture, you can define it only in Terminal/iTerm so it does not conflict. – Scot Jan 26 '18 at 20:12
-1

That isn't possible. It would have to be an option built into MacOS Touchpad preferences.

  • Why is this? I see no reason it couldn't be handled by a third party utility or injected. – JMY1000 Jan 26 '18 at 2:35
  • I have yet to see a third party utility or application control terminal so that it can recognize a trackpad function that isn't supported out of the box. – Melvin Jefferson Jan 26 '18 at 3:34
  • 1
    You should be able to inject one using mySIMBL. – JMY1000 Jan 26 '18 at 6:20

You must log in to answer this question.

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