config/doom: configure org-journal & minimalist default export

This commit is contained in:
xeruf 2021-05-05 08:49:50 +02:00
parent 6144359cbd
commit 6c0fb2482e
2 changed files with 15 additions and 6 deletions

View File

@ -93,10 +93,16 @@
(load! "./local.el" nil t)
(setq org-directory (expand-file-name "2-standards/notes" user-data-dir))
(setq default-directory org-directory)
(setq initial-buffer-choice (expand-file-name "journal/log.org" org-directory))
(setq org-roam-directory (concat (file-name-as-directory (getenv "XDG_DATA_HOME")) "org-roam"))
(setq org-directory (expand-file-name "2-standards/notes" user-data-dir)
default-directory org-directory
initial-buffer-choice (expand-file-name "journal/log.org" org-directory)
org-roam-directory (concat (file-name-as-directory (getenv "XDG_DATA_HOME")) "org-roam")
)
(setq org-journal-file-type 'weekly
org-journal-file-format "%Y%m%d.org"
org-journal-created-property-timestamp-format "[%Y-%m-%d]"
)
(after! recentf
(add-to-list 'recentf-exclude "writing\\/tug")
@ -143,6 +149,9 @@
(let ((current-prefix-arg '(7))) (call-interactively 'org-timestamp-up-day))
)
(setq org-export-with-toc nil
org-export-with-section-numbers nil)
(defun org-export-repeat ()
(interactive)
(let ((current-prefix-arg '(4))) (call-interactively 'org-export-dispatch))

View File

@ -60,6 +60,6 @@
(package! plantuml-mode) ; Diagrams
(package! adoc-mode) ; Asciidoc, a md alternative
;(package! annotate) ; Annotations
;(package! annotate) ; Annotations - replaced by org-noter
; :leader "aa" 'annotate-annotate
; :leader "as" 'annotate-mode