From c2c53aec3c3369a314008146b654fff7743ada5b Mon Sep 17 00:00:00 2001 From: Guangxiong Lin Date: Fri, 15 Jul 2022 01:02:58 +0800 Subject: Update emacs config --- .emacs.d/lisp/init-org-roam.el | 2 ++ 1 file changed, 2 insertions(+) (limited to '.emacs.d/lisp/init-org-roam.el') diff --git a/.emacs.d/lisp/init-org-roam.el b/.emacs.d/lisp/init-org-roam.el index f460761..268c322 100644 --- a/.emacs.d/lisp/init-org-roam.el +++ b/.emacs.d/lisp/init-org-roam.el @@ -17,6 +17,7 @@ (kbd "in") 'org-roam-node-insert (kbd "[d") 'org-roam-dailies-goto-previous-note (kbd "]d") 'org-roam-dailies-goto-next-note)) + (setq org-roam-directory (file-truename "~/words")) (setq org-roam-db-gc-threshold most-positive-fixnum) (setq org-roam-dailies-directory "journals/") @@ -38,6 +39,7 @@ "* %?" :target (file+head "%<%Y/%Y>.org" "#+title: %<%Y>\n")))) +(setq org-roam-node-display-template "${title} - ${file}") ;; roam ui (when (gx/maybe-require-package 'org-roam-ui) -- cgit v1.2.3