Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Opening links with keystroke in iTerm2

Tags:

macos

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?

like image 614
user331244 Avatar asked Apr 07 '16 07:04

user331244


1 Answers

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.

like image 84
sel-fish Avatar answered Nov 15 '22 04:11

sel-fish