summaryrefslogtreecommitdiff
path: root/emacs.org
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2023-08-03 23:08:54 +0300
committerThanos Apollo <[email protected]>2023-08-03 23:08:54 +0300
commit9d2ffcbe486ffd28c6224b54d37f9d23470189da (patch)
treee5b60ccc141188c30ebf2bdebba138445c08040b /emacs.org
parent227387facae15eba67d75bb7e9848705a3cdb2b0 (diff)
emacs: update org-roam-node-display-template
Diffstat (limited to 'emacs.org')
-rwxr-xr-xemacs.org7
1 files changed, 7 insertions, 0 deletions
diff --git a/emacs.org b/emacs.org
index 40e26e4..946d6f7 100755
--- a/emacs.org
+++ b/emacs.org
@@ -330,6 +330,13 @@ Generate a random password between 20 and 40 characters
org-roam-dailies-directory "journal/")
(org-roam-db-autosync-enable)
+
+ (setq org-roam-node-display-template (concat "${title:50} "(propertize "${tags:30}" 'face 'org-tag)))
+
+ (setq org-roam-db-node-include-function
+ (lambda ()
+ (not (or (member "journal" (org-get-tags))
+ (member "memorize" (org-get-tags))))))
#+end_src
*** Keybindings
#+begin_src emacs-lisp