neorg icon indicating copy to clipboard operation
neorg copied to clipboard

Make concealed links print with OSC8 escape sequences

Open carterprince opened this issue 11 months ago • 2 comments

Issues

  • [x] I have checked existing issues and there are no existing ones with the same request.

Feature description

This would allow users to click a concealed link to open it a browser, as is possible in Emacs org-mode. E.g. image

See here for more info about OSC 8. See here for some examples.

Most major terminals support it already, and if one doesn't, I don't think printing the sequences will break anything.

Help

Maybe

Implementation help

No response

carterprince avatar Feb 25 '24 01:02 carterprince

Maybe, just maybe, can we get this almost for free with https://github.com/neovim/neovim/pull/27132? Idk but with a couple of changes to the highlights.scm?

pysan3 avatar Feb 25 '24 04:02 pysan3

Moved to https://github.com/nvim-neorg/tree-sitter-norg3/issues/17

Any help appreciated!

pysan3 avatar Feb 26 '24 03:02 pysan3