doom: refactored config.org and setup basic org templates
This commit is contained in:
+45
-7
@@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
* Theme und Font
|
* Theme und Font
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(setq doom-font (font-spec :family "JetBrainsMono Nerd Font Mono" :size 14))
|
(setq doom-font (font-spec :family "JetBrainsMono Nerd Font Mono" :size 14))
|
||||||
@@ -9,14 +8,53 @@
|
|||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(setq display-line-numbers-type t)
|
(setq display-line-numbers-type t)
|
||||||
#+end_src
|
#+end_src
|
||||||
* Orgmode
|
|
||||||
|
* Org Mode
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(setq org-directory "~/org/")
|
(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
|
#+end_src
|
||||||
* pdf tools
|
|
||||||
|
** Capture Templates
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(setq pdf-view-continuous t)
|
(after! org
|
||||||
(setq pdf-view-scroll-step 15)
|
(setq org-capture-templates
|
||||||
(setq pdf-cache-image-limit 32)
|
'(("t" "Task" entry
|
||||||
(setq pdf-view-max-image-width 2400)
|
(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
|
#+end_src
|
||||||
|
|||||||
Reference in New Issue
Block a user