Is it possible to follow markdown links from vim with a keyboard shortcut? The links look like this:
[foo](relative/path/to/file.pdf)
[bar](www.some-webpage.com)
I want to have a keyboard shortcut that opens the links with the default application. Not sure whether it makes a difference, but I am using OS X.
Try gx
when your cursor is over the link. netrw should open the link with the external handler (see :h netrw-gx
) which in Mac OS X will be open.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With