From 349e7261eb44d85780f62953c117d57017907c09 Mon Sep 17 00:00:00 2001 From: Jaden Provost Maxwell-Comfort Date: Mon, 22 Apr 2024 08:05:00 -0700 Subject: [PATCH] Added inbox file for adding quick thoughts --- .emacs.d/org.org | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.emacs.d/org.org b/.emacs.d/org.org index f870521..afe3d2b 100644 --- a/.emacs.d/org.org +++ b/.emacs.d/org.org @@ -16,7 +16,8 @@ This installs the org package and creates a setup function to enable/disable cer (use-package org :hook (org-mode . jm/org-mode-setup) :config - (setq org-ellipsis " ▾" + (setq jm/inbox-file "~/Nextcloud/org/inbox.org" + org-ellipsis " ▾" org-hide-emphasis-markers t org-src-preserve-indentation t @@ -29,10 +30,15 @@ This installs the org package and creates a setup function to enable/disable cer ;; Org agenda timestamp formatting org-display-custom-times t - org-time-stamp-custom-formats '("%m-%d-%y %a" . "%m-%d-%y %a %I:%M %p")) + org-time-stamp-custom-formats '("%m-%d-%y %a" . "%m-%d-%y %a %I:%M %p") + + ;; Capture templates + org-capture-templates '(("i" "Inbox" entry (file jm/inbox-file) "* %?\n"))) (jm/leader-keys - "oa" '(org-agenda :which-key "Org agenda"))) + "oa" '(org-agenda :which-key "Org agenda") + "oc" '(org-capture :which-key "Org capture") + "oi" '((lambda () (interactive) (find-file jm/inbox-file)) :which-key "Open inbox file"))) #+end_src * Cosmetics