Search code examples
macositerm2

Opening links with keystroke in iTerm2


I love the incremental search and tab-expand to select feature in iTerm2. Is there any way to configure it to support magically-open-selected-link with a keystroke? Just like cmd-clicking a url?


Solution

  • iTerm2 supports "Open selection as url" when right click, but doesn't support to create shortcut for that.
    I hack some code to support it, maybe it can help you somehow.