61 lines
1.6 KiB
Org Mode
61 lines
1.6 KiB
Org Mode
* Theme und Font
|
|
#+begin_src emacs-lisp
|
|
(setq doom-font (font-spec :family "JetBrainsMono Nerd Font Mono" :size 14))
|
|
(setq doom-theme 'doom-gruvbox)
|
|
#+end_src
|
|
|
|
* General Settings
|
|
#+begin_src emacs-lisp
|
|
(setq display-line-numbers-type t)
|
|
#+end_src
|
|
|
|
* 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
|
|
|
|
** Capture Templates
|
|
#+begin_src emacs-lisp
|
|
(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
|