Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: