Sublime Forum

ST4: Click on filename in iTerm2 broken after ST3 -> ST4 update

#1

I just upgraded Sublime Text 3 to Sublime Text 4, and am loving it. In particular, it fixed a long-running bug that’s been vexing me weekly for years.

BUT, I was surprised to find I could no longer click on filepaths in iTerm2 and have them open in Sublime. I didn’t notice for a few days, so I didn’t immediately associate that with the ST4 upgrade.

The solution is to update your editor selection in iTerm2. Go to:

  • iTerm2 -> Preferences -> Profiles -> Advanced -> Semantic History -> Open with editor

There, select Sublime Text 4, and you’re all set.

This was a hard thing to Google for, so I thought I’d share this here for anyone else in the same boat.

4 Likes