config/doom: configure org-journal & minimalist default export
This commit is contained in:
parent
6144359cbd
commit
6c0fb2482e
|
@ -93,15 +93,21 @@
|
||||||
|
|
||||||
(load! "./local.el" nil t)
|
(load! "./local.el" nil t)
|
||||||
|
|
||||||
(setq org-directory (expand-file-name "2-standards/notes" user-data-dir))
|
(setq org-directory (expand-file-name "2-standards/notes" user-data-dir)
|
||||||
(setq default-directory org-directory)
|
default-directory org-directory
|
||||||
(setq initial-buffer-choice (expand-file-name "journal/log.org" org-directory))
|
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"))
|
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
|
(after! recentf
|
||||||
(add-to-list 'recentf-exclude "writing\\/tug")
|
(add-to-list 'recentf-exclude "writing\\/tug")
|
||||||
(add-to-list 'recentf-exclude "\\.\\(sync\\|stversions\\)")
|
(add-to-list 'recentf-exclude "\\.\\(sync\\|stversions\\)")
|
||||||
)
|
)
|
||||||
|
|
||||||
;;; UTF-8 encoding - https://zhangda.wordpress.com/2016/02/15/configurations-for-beautifying-emacs-org-mode/
|
;;; UTF-8 encoding - https://zhangda.wordpress.com/2016/02/15/configurations-for-beautifying-emacs-org-mode/
|
||||||
;; disable CJK coding/encoding (Chinese/Japanese/Korean characters)
|
;; disable CJK coding/encoding (Chinese/Japanese/Korean characters)
|
||||||
|
@ -143,6 +149,9 @@
|
||||||
(let ((current-prefix-arg '(7))) (call-interactively 'org-timestamp-up-day))
|
(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 ()
|
(defun org-export-repeat ()
|
||||||
(interactive)
|
(interactive)
|
||||||
(let ((current-prefix-arg '(4))) (call-interactively 'org-export-dispatch))
|
(let ((current-prefix-arg '(4))) (call-interactively 'org-export-dispatch))
|
||||||
|
|
|
@ -60,6 +60,6 @@
|
||||||
(package! plantuml-mode) ; Diagrams
|
(package! plantuml-mode) ; Diagrams
|
||||||
(package! adoc-mode) ; Asciidoc, a md alternative
|
(package! adoc-mode) ; Asciidoc, a md alternative
|
||||||
|
|
||||||
;(package! annotate) ; Annotations
|
;(package! annotate) ; Annotations - replaced by org-noter
|
||||||
; :leader "aa" 'annotate-annotate
|
; :leader "aa" 'annotate-annotate
|
||||||
; :leader "as" 'annotate-mode
|
; :leader "as" 'annotate-mode
|
||||||
|
|
Loading…
Reference in New Issue