From 561ce5cc3d883cddd2b7ce62eb28dfb3099f6666 Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Sat, 12 Nov 2022 17:19:52 +0000 Subject: org-roam config startup --- doom.d/config.el | 21 +++++++++++++++------ doom.d/init.el | 2 +- 2 files changed, 16 insertions(+), 7 deletions(-) diff --git a/doom.d/config.el b/doom.d/config.el index 807e052..aaabf52 100644 --- a/doom.d/config.el +++ b/doom.d/config.el @@ -72,6 +72,15 @@ (global-set-key (kbd "C-c f") 'counsel-fzf) (global-unset-key (kbd "C-x C-b")) ;; we don't want the old buffer list! +;; org-roam +(after! org-roam + (setq org-roam-directory ("~/org-roam")) + (org-roam-db-autosync-mode) + (setq org-roam-node-display-template + (concat "${title:*} " + (propertize "${tags:10}" 'face 'org-tag))) + ) + ;; Basic agenda stuff (after! org @@ -131,7 +140,7 @@ ("D" "Dashboard" ( (tags "current" - ((org-agenda-overriding-header "Current Ideas"))) + ((org-agenda-overriding-header "Current Ideas"))) (tags-todo "PRIORITY=\"A\"" ((org-agenda-overriding-header "Urgent Tasks"))) (agenda "") @@ -146,7 +155,7 @@ (tags-todo "CATEGORY=\"MOD\"&TODO=\"WAITING\"|CATEGORY=\"Work\"&TODO=\"WAITING\"" ((org-agenda-overriding-header "Work WAITING"))) ) - ((org-agenda-category-filter-preset '("+MOD" "+Work" "+Meeting"))) + ((org-agenda-category-filter-preset '("+MOD" "+Work" "+Meeting"))) ) ("wn" "Agenda + Work NEXT" ( @@ -156,7 +165,7 @@ (tags-todo "CATEGORY=\"MOD\"&TODO=\"WAITING\"|CATEGORY=\"Work\"&TODO=\"WAITING\"" ((org-agenda-overriding-header "Work WAITING"))) ) - ((org-agenda-category-filter-preset '("+MOD" "+Work" "+Meeting"))) + ((org-agenda-category-filter-preset '("+MOD" "+Work" "+Meeting"))) ) ("wp" "Work Project NEXT" ( @@ -268,9 +277,9 @@ ;; org tags (setq org-tag-alist '( ;; Depth - ("@immersive" . ?i) ;; "Deep" - ("@process" . ?p) ;; "Shallow" - ("@offdesk" . ?o) ;; "Away from desk" + ("@immersive" . ?i) ;; "Deep" + ("@process" . ?p) ;; "Shallow" + ("@offdesk" . ?o) ;; "Away from desk" ;; Type ("brainstorm" . ?b) ("idea" . ?d) diff --git a/doom.d/init.el b/doom.d/init.el index 4bd2196..b14d677 100644 --- a/doom.d/init.el +++ b/doom.d/init.el @@ -153,7 +153,7 @@ ;;nim ; python + lisp at the speed of c ;;nix ; I hereby declare "nix geht mehr!" ;;ocaml ; an objective camel - org ; organize your plain life in plain text + (org +roam2) ; organize your plain life in plain text ;;php ; perl's insecure younger brother ;;plantuml ; diagrams for confusing people more ;;purescript ; javascript, but functional -- cgit v1.2.3