(feat): add org-roam-find-directory (#424)

This commit is contained in:
Leo Vivier
2020-04-10 14:11:39 +02:00
committed by GitHub
parent df20754fb0
commit 05c9e8e2e7

View File

@@ -379,6 +379,12 @@ INITIAL-PROMPT is the initial title prompt."
(add-hook 'org-capture-after-finalize-hook #'org-roam-capture--find-file-h)
(org-roam--capture))))))
;;;; org-roam-find-directory
(defun org-roam-find-directory ()
"Find and open `org-roam-directory'."
(interactive)
(find-file org-roam-directory))
;;;; org-roam-find-ref
(defun org-roam--get-ref-path-completions ()
"Return a list of cons pairs for titles to absolute path of Org-roam files."