From 1a9fa40da7c67584979874ad643c50166d5f637b Mon Sep 17 00:00:00 2001 From: xerus2000 <27jf@pm.me> Date: Mon, 12 Apr 2021 10:38:08 +0200 Subject: [PATCH] config/doom: adjust included paths --- .config/doom/config.el | 9 ++++++++- .config/doom/packages.el | 2 +- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.config/doom/config.el b/.config/doom/config.el index 95a36d4..a0f5382 100644 --- a/.config/doom/config.el +++ b/.config/doom/config.el @@ -74,6 +74,7 @@ (setq lazy-highlight-cleanup nil) ;; Backups & auto-saves +;; Doom defaults: /home/janek/.config/emacs/core/core-editor.el::89 (setq auto-save-default t auto-save-interval 40) @@ -97,6 +98,11 @@ (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")) +(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/ ;; disable CJK coding/encoding (Chinese/Japanese/Korean characters) (setq utf-translate-cjk-mode nil) @@ -125,7 +131,7 @@ (apply 'append (mapcar (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) @@ -228,6 +234,7 @@ (setq org-read-date-prefer-future nil) ;; Visuals +; https?[0-z.\/-]*\.(png|jpg)\?[^?]* (setq org-image-actual-width nil) (setq org-ellipsis "↴") diff --git a/.config/doom/packages.el b/.config/doom/packages.el index 4bcc004..30ad7ca 100644 --- a/.config/doom/packages.el +++ b/.config/doom/packages.el @@ -51,7 +51,7 @@ (package! evil-args) ; motions in args (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! togetherly) ; Collaborative editing