← Back to context

Comment by Graziano_M

11 hours ago

BTW here is my fork: https://github.com/Grazfather/ghostty/tree/quick_select

    link = copy_to_clipboard=[0-9a-f]{7,40}
    link = open=https?://[a-zA-Z0-9.]+[-a-zA-Z0-9()@:%_\\+.~#?&//=]*
    keybind = ctrl+o>y=quick_select

Far from perfect. No way to bind to specific action:regex pair, so `ctrl+o` then `y` will show hints for both urls, which it'll try to open, and git hashes, which it'll copy to the clipboard.