From ff9f1d545ed08895e6b96442d414f76ebed35dc7 Mon Sep 17 00:00:00 2001 From: Michael Thomson Date: Sun, 20 Apr 2025 20:50:31 -0400 Subject: [PATCH] update --- modules/home-manager/emacs/emacs/init.el | 41 ++++++++++++------------ 1 file changed, 20 insertions(+), 21 deletions(-) diff --git a/modules/home-manager/emacs/emacs/init.el b/modules/home-manager/emacs/emacs/init.el index 92c8fea..603fd79 100644 --- a/modules/home-manager/emacs/emacs/init.el +++ b/modules/home-manager/emacs/emacs/init.el @@ -123,12 +123,7 @@ (start/leader-keys "o" '(:ignore t :wk "Org") - "o f" '(org-roam-node-find :wk "Find note") - "o c" '(org-roam-capture :wk "Org capture") - "o d" '(:ignore t :wk "Dailies") - "o d t" '(org-roam-dailies-goto-today :wk "Goto today") - "o d c" '(org-roam-dailies-capture-today :wk "Capture today") - "o i" '(org-roam-node-insert :wk "Insert link"))) + "o e" '(find-file "~/RoamNotes/everything.org" :wk "Open notes"))) (use-package emacs :custom @@ -303,18 +298,22 @@ :ensure nil :custom (org-edit-src-content-indentation 4) ;; Set src block automatic indent to 4 instead of 2. - (org-todo-keywords '((sequence "TODO" "IN-PROGRESS" "CODE-REVIEW" "BLOCKED" "|" "DONE" "CANCELED"))) + (org-todo-keywords '((sequence "TODO(t!)" "IN-PROGRESS(p)" "CODE-REVIEW(r)" "BLOCKED(b)" "|" "DONE(d!)" "CANCELED(c!)"))) (org-todo-keyword-faces '(("IN-PROGRESS" . "yellow") ("BLOCKED" . "magenta") ("CODE-REVIEW" . "blue") ("CANCELED" . "grey") ("DONE" . "green"))) - + (org-treat-insert-todo-heading-as-state-change t) + (org-log-into-drawer t) + :config + (add-to-list 'org-modules 'org-habit t) + (add-to-list 'org-agenda-files "~/RoamNotes/everything.org") :hook (org-mode . org-indent-mode) ;; Indent text ;; The following prevents <> from auto-pairing when electric-pair-mode is on. ;; Otherwise, org-tempo is broken when you try to