summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Cleberg <[email protected]>2026-02-08 11:59:36 -0600
committerChristian Cleberg <[email protected]>2026-02-08 11:59:36 -0600
commit0e7014f8522c7f973604e455ef9b5caf8db16559 (patch)
treebeaff7a07a55daea8fcf35faef0d8ab8e29ce1f3
parentaf4b92b972bfcb8bd67d8132c953e6fbb1d02296 (diff)
downloaddotfiles-0e7014f8522c7f973604e455ef9b5caf8db16559.tar.gz
dotfiles-0e7014f8522c7f973604e455ef9b5caf8db16559.tar.bz2
dotfiles-0e7014f8522c7f973604e455ef9b5caf8db16559.zip
doom: remove hugo and add corfu and org-roam settings
-rw-r--r--doom/.config/doom/config.el24
-rw-r--r--doom/.config/doom/init.el1
2 files changed, 18 insertions, 7 deletions
diff --git a/doom/.config/doom/config.el b/doom/.config/doom/config.el
index 939d03f..fb216eb 100644
--- a/doom/.config/doom/config.el
+++ b/doom/.config/doom/config.el
@@ -8,9 +8,24 @@
(setq doom-theme 'doom-homage-black)
(setq display-line-numbers-type t)
-;; Org-Mode
+;; Corfu
+(after! corfu
+ (setq corfu-auto t ; Enable auto-completion
+ corfu-auto-delay 0.1 ; Shorter delay (default is 0.2)
+ corfu-auto-prefix 2 ; Complete after 2 characters
+ corfu-quit-at-boundary t) ; Quit when hitting space/non-matching
+ (add-hook 'doom-first-input-hook #'global-corfu-mode))
+
+;; Org-Mode & Roam
(setq org-directory "~/Documents/notes/")
-(setq org-agenda-files '("~/Documents/notes/"))
+(setq org-roam-directory (file-name-concat org-directory "roam"))
+
+(after! org
+ (setq org-hide-emphasis-markers t
+ org-appearance-autolinks t
+ org-pretty-entities t
+ org-agenda-files '("~/Documents/notes/")))
+
(setq org-capture-templates
'(("t" "Personal todo" entry
(file+headline "~/Documents/notes/todo.org" "Inbox")
@@ -18,10 +33,6 @@
("n" "Personal notes" entry
(file+headline "~/Documents/notes/notes.org" "Inbox")
"* %u %?\n%i\n%a")))
-(after! org
- (setq org-hide-emphasis-markers t
- org-appearance-autolinks t
- org-pretty-entities t))
;; Abbreviations
(setq-default abbrev-mode t)
@@ -35,3 +46,4 @@
("xtoday" "" (lambda () (insert (format-time-string "%Y-%m-%d %H:%M:%S"))))
("xnow" "" (lambda () (insert (format-time-string "%H:%M:%S"))))
))
+
diff --git a/doom/.config/doom/init.el b/doom/.config/doom/init.el
index 2ff4485..2f9b817 100644
--- a/doom/.config/doom/init.el
+++ b/doom/.config/doom/init.el
@@ -70,7 +70,6 @@
javascript ; all(hope(abandon(ye(who(enter(here))))))
markdown ; writing docs for people to ignore
(org +dragndrop ; drag & drop images/files into org
- +hugo ; use this if you plan to use weblorg/hugo for your site
+journal ; daily logging
+noter ; for annotating PDFs (great for research)
+roam2) ; Zettelkasten note-taking