config/doom: adjust included paths

This commit is contained in:
xerus2000 2021-04-12 10:38:08 +02:00
parent 414a769c45
commit 1a9fa40da7
2 changed files with 9 additions and 2 deletions

View File

@ -74,6 +74,7 @@
(setq lazy-highlight-cleanup nil) (setq lazy-highlight-cleanup nil)
;; Backups & auto-saves ;; Backups & auto-saves
;; Doom defaults: /home/janek/.config/emacs/core/core-editor.el::89
(setq auto-save-default t (setq auto-save-default t
auto-save-interval 40) auto-save-interval 40)
@ -97,6 +98,11 @@
(setq initial-buffer-choice (expand-file-name "journal/log.org" 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-roam-directory (concat (file-name-as-directory (getenv "XDG_DATA_HOME")) "org-roam"))
(after! recentf
(add-to-list 'recentf-exclude "writing\\/tug")
(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)
(setq utf-translate-cjk-mode nil) (setq utf-translate-cjk-mode nil)
@ -125,7 +131,7 @@
(apply 'append (apply 'append
(mapcar (mapcar
(lambda (directory) (directory-files-recursively (expand-file-name directory user-data-dir) org-agenda-file-regexp)) (lambda (directory) (directory-files-recursively (expand-file-name directory user-data-dir) org-agenda-file-regexp))
'("1-projects" "2-standards" "3-resources") '("1-projects" "2-standards")
))) )))
(defun org-todo-or-insert (&optional arg) (defun org-todo-or-insert (&optional arg)
@ -228,6 +234,7 @@
(setq org-read-date-prefer-future nil) (setq org-read-date-prefer-future nil)
;; Visuals ;; Visuals
; https?[0-z.\/-]*\.(png|jpg)\?[^?]*
(setq org-image-actual-width nil) (setq org-image-actual-width nil)
(setq org-ellipsis "") (setq org-ellipsis "")

View File

@ -51,7 +51,7 @@
(package! evil-args) ; motions in args (package! evil-args) ; motions in args
(package! evil-replace-with-register) ; grrrrr (package! evil-replace-with-register) ; grrrrr
(package! evil-better-visual-line) ; not sure if this actually helps ;(package! evil-better-visual-line) ; not sure if this actually helps
(package! visual-fill-column) ; Soft line wrapping at character count (package! visual-fill-column) ; Soft line wrapping at character count
(package! togetherly) ; Collaborative editing (package! togetherly) ; Collaborative editing