A mapping to open Markdown-formatted URL (like Vim's gx
)
#11155
-
I wanted to share a shortcut to emulate Vim's In Helix, the quickest way I found to open the link of a Markdown-formatted URL is to move the cursor inside the parentheses (the URL part) and then press these sequences:
But in Vim, it's a single key sequence However, I found another way to emulate [keys.normal.g]
x = ["match_brackets", "match_brackets", "move_char_right", "select_mode", "match_brackets", "extend_char_left", "goto_file"] It is worth pointing out this isn't as powerful as Vim's Another thing I tried is to use my terminal's link opening facility, but this doesn't work when the URLs is wrapped due to the gutter breaking up the URL with a gap. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
FWIW, as of Helix 24.7, |
Beta Was this translation helpful? Give feedback.
FWIW, as of Helix 24.7,
gf
works withoutmim
, at lest for non-wrapped urls.