Skip to content

iTerm2: Jump to Location in Sublime Text 2/3

Just a quick timesaver: Jump from stack traces in iTerm 2 straight to the right location in Sublime Text 3.

CMD + Click on a exeption...
Exception in iTerm 2

And check it out in Sublime Text...
Code in Sublime Text 3

##Configure iTerm 2
If you already setup your subl command, just go to your iterm 2 Preferences change the dropdown to Always run command... and paste this:

/usr/local/bin/subl \1:\2

Under Profiles > Advanced > Semantic History:

iTerm 2 configuration

Happy coding!

© 2022 by Adrian Philipp