Open ruanxiang opened 2 years ago
Hi! Glad you like it!
org-open-link-from-string
, which then uses org-link-open
. That function has optional arguments to open files in emacs. Perhaps I could make it so C-u r
opens the resource in Emacs...org-brain-visualize
. It would be nice, but I believe I looked into it and it was rather complicated to implement.org-brain
from MELPA but instead use my local development file. If you have a look at the open issues there are discussions about polymode, perhaps those could help you?Hi,
Thank you so much for the quick response.
Actually I got additional questions,
I didn't know about org-file-apps
. After reading the documetation, this works for me:
(add-to-list 'org-file-apps '("pdf" . emacs))
You don't need to add it in a hook.
Regarding your new questions:
M-x org-brain-visualize
or other commands both "Woods" and "Forest" will lead to the same entry.t
should not add a new entry. If it is a file entry it should add/change the #+TITLE
and if it is a headline entry it should change the headline itself. If you create an entry "a.org" and then visualize it and press t Hello RET
the entry name being visualized should be "Hello".(add-to-list 'org-file-apps '("pdf" . emacs)) works! Thank you so much!
Best regards,
ivy
and vertico
(and perhaps also the builtin ido
, I can't remember) are good alternatives. Then you could write the title of the entry and it will match, not only at the beginning of the string.Thank you so much for your patient reply.
I am still learning org-brain, and getting used to using it in my everyday work. Great work!
Thank you for the great software!
While, I got two questions 1, When I use "r" to open resource, org-brain default uses "xdg-open" (in my debian box) to open file, but I wonder if I can open the file within Emacs. For example, if resource is a pdf file, I want org-brain opens it with pdf-tools 2, After adding a file link to resource, I don't konw how to edit its description as normal org mode does in org-brain-visualize mode. Should I have to open org file to add it manually? 3, I tried a lot but my emacs still can not find org-brain-polymode, I added configs as your README suggest and installed polymode, but no luck. :-(