-
Notifications
You must be signed in to change notification settings - Fork 0
/
.dir-locals.el
14 lines (14 loc) · 883 Bytes
/
.dir-locals.el
1
2
3
4
5
6
7
8
9
10
11
12
13
14
;;; .dir-locals.el --- description -*- lexical-binding: t; -*-
;;;
((nil . ((eval . (setq org-roam-directory (concat (shell-command-to-string
"git rev-parse --show-toplevel | tr -d '\n'")
"/docs/org")))
(eval . (setq org-attach-id-dir (concat (shell-command-to-string
"git rev-parse --show-toplevel | tr -d '\n'")
"/docs/org/attach/")))
(eval . (setq org-roam-db-location (concat (shell-command-to-string
"git rev-parse --show-toplevel | tr -d '\n'")
"/.cache/org-roam.db")))))
(org-mode . ((org-tanglesync-mode . t)))
)
;;;docs/org-mode-locals.el ends here