aboutsummaryrefslogtreecommitdiff
path: root/common/.config/emacs
diff options
context:
space:
mode:
authorjjanzen <jjanzen@jjanzen.ca>2025-03-09 12:16:12 -0500
committerjjanzen <jjanzen@jjanzen.ca>2025-03-09 12:16:12 -0500
commit02579c79c9919108ab82ae75e6734d8345c31584 (patch)
tree715f52cff09099bda3d522386b8dea0aafc184ce /common/.config/emacs
parent039d4ac424c3038cf25d9b880829e77a2f304fb3 (diff)
system changes
Diffstat (limited to 'common/.config/emacs')
-rw-r--r--common/.config/emacs/init.el.org29
1 files changed, 29 insertions, 0 deletions
diff --git a/common/.config/emacs/init.el.org b/common/.config/emacs/init.el.org
index 6d1f181..195043d 100644
--- a/common/.config/emacs/init.el.org
+++ b/common/.config/emacs/init.el.org
@@ -395,9 +395,17 @@ Configure =org-mode=. I use =~/org= as my =org= directory and hide emphasis mark
(org-mode . (lambda ()
(variable-pitch-mode)
(display-line-numbers-mode -1)))
+ :bind
+ (
+ ("C-c l" . org-store-link)
+ ("C-c a" . org-agenda)
+ ("C-c c" . org-capture))
+
:config
(org-crypt-use-before-save-magic)
(setq org-directory "~/org"
+ org-agenda-files "~/org"
+ org-log-done 'time
org-hide-emphasis-markers t
org-format-latex-options (plist-put org-format-latex-options :scale 2.0)
org-return-follows-link t
@@ -423,6 +431,27 @@ Configure =org-mode=. I use =~/org= as my =org= directory and hide emphasis mark
(org-level-6 ((t (:inherit outline-6)))))
#+end_src
+Highlight comment tags like =TODO= and whatnot.
+#+begin_src emacs-lisp
+ (use-package comment-tags
+ :init
+ (setq comment-tags-keyword-faces
+ `(("TODO" . ,(list :weight 'bold :foreground "#28ABE3"))
+ ("FIXME" . ,(list :weight 'bold :foreground "#DB3340"))
+ ("BUG" . ,(list :weight 'bold :foreground "#DB3340"))
+ ("HACK" . ,(list :weight 'bold :foreground "#E8B71A"))
+ ("KLUDGE" . ,(list :weight 'bold :foreground "#E8B71A"))
+ ("XXX" . ,(list :weight 'bold :foreground "#F7EAC8"))
+ ("INFO" . ,(list :weight 'bold :foreground "#F7EAC8"))
+ ("DONE" . ,(list :weight 'bold :foreground "#1FDA9A"))))
+ (setq comment-tags-comment-start-only t
+ comment-tags-require-colon t
+ comment-tags-case-sensitive t
+ comment-tags-show-faces t
+ comment-tags-lighter t)
+ (comment-tags-mode))
+#+end_src
+
Install =cmake-mode=.
#+begin_src emacs-lisp
(use-package cmake-mode)