doom: refactored config.org and setup basic org templates

This commit is contained in:
2026-03-05 12:07:31 +01:00
parent 852e4af772
commit 9c8676cb56
+45 -7
View File
@@ -1,4 +1,3 @@
* Theme und Font
#+begin_src emacs-lisp
(setq doom-font (font-spec :family "JetBrainsMono Nerd Font Mono" :size 14))
@@ -9,14 +8,53 @@
#+begin_src emacs-lisp
(setq display-line-numbers-type t)
#+end_src
* Orgmode
* Org Mode
#+begin_src emacs-lisp
(setq org-directory "~/org/")
(after! org
(setq org-default-notes-file (concat org-directory "inbox.org")
org-agenda-files (list (concat org-directory "inbox.org")
(concat org-directory "projects.org")
(concat org-directory "someday.org"))
org-todo-keywords '((sequence "TODO(t)" "NEXT(n)" "WAITING(w@/!)" "|" "DONE(d)" "CANCELLED(c@)"))))
#+end_src
* pdf tools
** Capture Templates
#+begin_src emacs-lisp
(setq pdf-view-continuous t)
(setq pdf-view-scroll-step 15)
(setq pdf-cache-image-limit 32)
(setq pdf-view-max-image-width 2400)
(after! org
(setq org-capture-templates
'(("t" "Task" entry
(file+headline "~/org/inbox.org" "Tasks")
"* TODO %?\n %U\n %a\n" :empty-lines 1)
("n" "Note" entry
(file+headline "~/org/inbox.org" "Notes")
"* %?\n %U\n" :empty-lines 1)
("j" "Journal" entry
(file+datetree "~/org/journal.org")
"* %?\n %U\n" :empty-lines 1))))
#+end_src
** Org Roam
#+begin_src emacs-lisp
(after! org-roam
(setq org-roam-directory (concat org-directory "notes/")))
#+end_src
** Auto-revert (Syncthing)
#+begin_src emacs-lisp
(global-auto-revert-mode t)
(setq auto-revert-use-notify t)
#+end_src
* PDF Tools
#+begin_src emacs-lisp
(after! pdf-tools
(setq pdf-view-continuous t
pdf-view-scroll-step 15
pdf-cache-image-limit 32
pdf-view-max-image-width 2400))
#+end_src