aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorjjanzen <jjanzen@jjanzen.ca>2025-03-09 13:10:45 -0500
committerjjanzen <jjanzen@jjanzen.ca>2025-03-09 13:10:45 -0500
commit527af104156bb1d67329309a65e8d146d69df1fe (patch)
treee37cc3aa10b94acc1290a10618aec1a25d7fa763 /common
parent02579c79c9919108ab82ae75e6734d8345c31584 (diff)
system changes
Diffstat (limited to 'common')
-rw-r--r--common/.config/emacs/init.el.org15
1 files changed, 13 insertions, 2 deletions
diff --git a/common/.config/emacs/init.el.org b/common/.config/emacs/init.el.org
index 195043d..1752eff 100644
--- a/common/.config/emacs/init.el.org
+++ b/common/.config/emacs/init.el.org
@@ -404,7 +404,7 @@ Configure =org-mode=. I use =~/org= as my =org= directory and hide emphasis mark
:config
(org-crypt-use-before-save-magic)
(setq org-directory "~/org"
- org-agenda-files "~/org"
+ org-agenda-files (list org-directory)
org-log-done 'time
org-hide-emphasis-markers t
org-format-latex-options (plist-put org-format-latex-options :scale 2.0)
@@ -412,6 +412,16 @@ Configure =org-mode=. I use =~/org= as my =org= directory and hide emphasis mark
org-tags-exclude-from-inheritance '("crypt")
org-crypt-key nil
auto-save-default nil)
+ (setq org-capture-templates
+ '(
+ ("n" "Note"
+ entry (file+headline "~/org/notes.org.gpg" "Random Notes")
+ "** %?"
+ :empty-lines 0)
+ ("g" "General To-Do"
+ entry (file+headline "~/org/todos.org.gpg" "General Tasks")
+ "* TODO [#B] %?\n:Created: %T\n "
+ :empty-lines 0)))
(font-lock-add-keywords 'org-mode
'(("^ *\\([-]\\) "
(0 (prog1 () (compose-region (match-beginning 1) (match-end 1) "•"))))))
@@ -449,7 +459,8 @@ Highlight comment tags like =TODO= and whatnot.
comment-tags-case-sensitive t
comment-tags-show-faces t
comment-tags-lighter t)
- (comment-tags-mode))
+ :hook
+ (prog-mode . comment-tags-mode))
#+end_src
Install =cmake-mode=.