Terminal – How to Double Click Text Selection in iTerm

itermterminal

I recently installed iTerm on both my Mac Pro & MacBook Pro and the text selection behavior is different on both the machines.

Consider the following line in terminal:


/Users/user/basic/Libraries/A/B/c.h:282:17: .fish = @"FISH",

Double clicking on "Users" can result in the two possible behaviors:

  1. selects "/Users/user/basic/Libraries/A/B/c.h"
  2. selects "Users"

The behavior is as follows:

  • Terminal: 2 (both Mac Pro & MacBook Pro)
  • iTerm: 1 (MacBook Pro), 2 (Mac Pro)

I am not sure what I am doing on the two different machines. All my configuration files are the same. The actual iTerm configuration is practically untouched.

What setting is responsible for this? I really want behavior #1 on my Mac Pro as well.

Edit 1: I have already looked at Smart Selection and I don't see any difference in settings.

Best Answer

Alright I solved this. Somehow, this setting was missing in iTerm on my MacBook Pro.

iTerm Settings