Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

link support for asciidoc (enhancement) #1

Open
boydkelly opened this issue Jan 11, 2021 · 0 comments
Open

link support for asciidoc (enhancement) #1

boydkelly opened this issue Jan 11, 2021 · 0 comments

Comments

@boydkelly
Copy link

boydkelly commented Jan 11, 2021

Hi great plugin. I was directed here by https://github.com/kyazdani42/nvim-tree.lua

I notice that some asciidoc links open with xdg-open (on linux), and others don't. Could you include support for:

link:document-b.html#section-b[Section B]
xref:document-b.adoc#section-b[Section B]

see:https://docs.asciidoctor.org/asciidoc/latest/macros/links/

Also how would I change the default opener for a given file type? In fact sometimes I would just want to open the file directly in vim as gf would. But also have the option to open the file with firefox or chrome. It would be nice to not have to fiddle with xdg-open and mime types etc, but just have the plugin get the right opener. It would actually also be very awesome to gx and have the file open both in the current window with vim and a second window for a browser preview.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant