-
-
Notifications
You must be signed in to change notification settings - Fork 139
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
Enable link opening from agenda #361
base: master
Are you sure you want to change the base?
Conversation
8907992
to
a793c7e
Compare
Emacs orgmode functionality is actually a bit more complicated than this:
This means that it will find all the links under the headline, and show you something like
Regarding finding hyperlinks, we could try using a tree-sitter query with custom predicate which I'm using for highlighting (https://github.com/nvim-orgmode/orgmode/blob/master/queries/org/markup.scm#L14). I'm not sure if that would work though, would need to give it a test. |
Some questions:
|
|
It doesn't go recursive. It takes only that specific headline, at least by default. I don't know if there's some specific setting for it, I didn't find any. |
4be6263
to
7e42fdb
Compare
9094379
to
abff0dc
Compare
44754e8
to
5143eed
Compare
The
Agenda:open_link
function is almost identical toOrgMappings:open_at_point
. Any suggestions on how to (and where) to de-duplicate it are appreciated. The moving ofget_link_under_cursor
toHyperlinks.lua
is a proposal.