"better" gx for vim
Vim has built-in gx
mapping to open an URL under the cursor defined in the
bundled netrw
plugin. It is limited to barebone urls and quite often that is
not enough.
I have come up with a better gx
mapping (for me of course) that is able to open:
-
markdown links
[Hacker news](https://news.ycombinator.com 'link to Hacker news website')
; -
asciidoc links
https://news.ycombinator.com[Hacker news]
;