Hacker News new | ask | show | jobs
by imran-iq 1195 days ago
The killer feature of kitty for me is `crtl-shift-e`[0]. I really wish more emulators would copy it. Wezterm has explicit hyperlinks[1], but it requires you to click it with a mouse which is the last thing I want to do when inside a terminal.

--

0: https://sw.kovidgoyal.net/kitty/conf/#shortcut-kitty.Open-UR...

1: https://wezfurlong.org/wezterm/hyperlinks.html#explicit-hype...

2 comments

I used wezterm for a while and we added this key binding, I think it was from Wez himself ? -

    { key="e",          mods="CTRL|ALT",      action=wezterm.action{QuickSelectArgs={
            patterns={
               "http?://\\S+",
               "https?://\\S+"
            },
            action = wezterm.action_callback(function(window, pane)
               local url = window:get_selection_text_for_pane(pane)
               wezterm.open_with(url)
            end)
          } }
    },
Just the thing I was missing. Thank you
is there a way to make this work with Explicit Hyperlinks?
For me the starting reason was the speed of the terminal but now its the open last command output in less[0], I know no other terminal that does this and it is a true life saver.

0: https://sw.kovidgoyal.net/kitty/conf/#shortcut-kitty.Browse-...