5 ms·
One of the best little-known features of iTerm2 is Semantic History. Cmd-click on filenames and they will be opened by the default application (or you can confi
by FiloSottile 11y ago
One of the best little-known features of iTerm2 is Semantic History. Cmd-click on filenames and they will be opened by the default application (or you can configure an action to be performed). It's working directory aware and works great with all output. I connected it to Sublime and it even works with line numbers.
(Same works for URLs, with the default browser)
- vcarl 11y agoHoly crap, that's amazing. I had no idea, thanks for spreading the word.
- kashifzaidi1 11y agoKudos, never knew that!
- biftek 11y agoUnfortunately using tmux breaks that behavior.
- tracker1 11y agoI wish that I could have iTerm2 for windows (where I use conemu) and Linux (guake has similar features, but an alien ui imho)... I tend to really like tabbed console sessions, and usually have a few local and ssh sessions open at a time while working.
- namuol 11y agoWow I just posted about this[1] as some hypothetical "dream feature" but it already exists. I don't use iTerm2 (or OS X, for that matter), but I'm wondering now if other terminals support it in some way or another... [1]: https://news.ycombinator.com/item?id=9508828 https://news.ycombinator.com/item?id=9508828
- jonalmeida 11y agoThis exists in a few linux terminal shells. Notably, gnome-terminal.
- ghuntley 11y agoHoly crap
- fmela 11y agoThanks! You made me very glad I came to the comments section.