-
Notifications
You must be signed in to change notification settings - Fork 12
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
Double square brackets in conflict with orgmode syntax #14
Comments
This is addressed in the README. https://github.com/localauthor/zk#using-org-mode-and-org-links |
Great: (defun zk-org-try-to-follow-link (fn &optional arg)
"When 'org-open-at-point' FN fails, try 'zk-follow-link-at-point'.
Optional ARG."
(let ((org-link-search-must-match-exact-headline t))
(condition-case nil
(apply fn arg)
(error (zk-follow-link-at-point)))))
(advice-add 'org-open-at-point :around #'zk-org-try-to-follow-link) I suppose this coudl be done as well for zetteldeft links? I'm currently using zetteldeft. |
Have you tried it? Also, that code snippet is derived from code in this thread, on the very topic: EFLS/zetteldeft#99 In the future, please be sure to read the relevant READMEs and existing issue threads before opening new issues and asking for help. |
Yes, I tried it and it works perfectly with zetteldeft, just needed to change zk-follow-link-at-point with zetteldeft-follow-link. Sorry for opening this issue, I will read the docs next time. One last question I couldn't find in the docs is the following: if I change the brackets to something else, will the previous files be updated with this change? |
No worries!
No, you would have to change them yourself. |
Thank you! |
Regarding the use of
[[202012091130]]
for links, doesn't this conflict with orgmode standard links?The text was updated successfully, but these errors were encountered: