From 060e3103eaf30d1677752b91db0d87edf898f0c6 Mon Sep 17 00:00:00 2001 From: KemoNine Date: Mon, 13 Feb 2023 08:29:18 -0500 Subject: [PATCH] tune todo setup to work with orgzly slip box / daily churn area -- includes some keyboard shortcut tweaks to make things more cohesive --- org/config-org-capture.el | 11 +++++++++-- org/config-org-desktop.el | 3 ++- org/config-org-keyboard.el | 7 +++++-- org/config-org-mobile.el | 3 ++- 4 files changed, 18 insertions(+), 6 deletions(-) diff --git a/org/config-org-capture.el b/org/config-org-capture.el index 15f3926..2d72b00 100644 --- a/org/config-org-capture.el +++ b/org/config-org-capture.el @@ -23,8 +23,15 @@ ; orgmode capture templates (setq org-capture-templates '( - ("d" "TODO" entry - (file+headline "~/org/_todo.org" "Active") + ("d" "TODO (Main)" entry + (file "~/org/orgzly/_todo.org") + (file "~/org/template_todo.org") + :prepend t + :immediate-finish "f" + :jump-to-captured "t" + ) + ("s" "TODO (Slipbox)" entry + (file "~/org/orgzly/_slipbox.org") (file "~/org/template_todo.org") :prepend t :immediate-finish "f" diff --git a/org/config-org-desktop.el b/org/config-org-desktop.el index fe194cd..35d0349 100644 --- a/org/config-org-desktop.el +++ b/org/config-org-desktop.el @@ -16,7 +16,8 @@ (split-window-below 15) (next-multiframe-window) (find-file "~/org/_habits.org") - (find-file "~/org/_todo.org") + (find-file "~/org/orgzly/_todo.org") + (find-file "~/org/orgzly/_slipbox.org") (find-file "~/org/_index.org") ) ) diff --git a/org/config-org-keyboard.el b/org/config-org-keyboard.el index a144000..709554d 100644 --- a/org/config-org-keyboard.el +++ b/org/config-org-keyboard.el @@ -6,7 +6,10 @@ (global-set-key (kbd "C-c c") 'org-capture) (global-set-key (kbd "C-c z") 'org-attach) (global-set-key (kbd "C-c t") - (lambda () (interactive) (find-file "~/org/_todo.org")) + (lambda () (interactive) (find-file "~/org/orgzly/_todo.org")) +) +(global-set-key (kbd "C-c s") + (lambda () (interactive) (find-file "~/org/orgzly/_slipbox.org")) ) (global-set-key (kbd "C-c n") (lambda () (interactive) (find-file "~/org/_index.org")) @@ -22,4 +25,4 @@ ) (global-set-key (kbd "C-c v") (lambda () (interactive) (dired "~/org/Document_Archive")) -) \ No newline at end of file +) diff --git a/org/config-org-mobile.el b/org/config-org-mobile.el index 7747091..ee25013 100644 --- a/org/config-org-mobile.el +++ b/org/config-org-mobile.el @@ -3,7 +3,8 @@ ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Open main files used as 'gateway' to everything else (Mobile) (find-file "~/storage/shared/org/_habits.org") -(find-file "~/storage/shared/org/_todo.org") +(find-file "~/storage/shared/org/orgzly/_todo.org") +(find-file "~/storage/shared/org/orgzly/_slipbox.org" (find-file "~/storage/shared/org/_index.org") ; Personal startup screen - orgmode agenda with all TODO (Mobile)