From 1925e5ba4e56c414cbe1d99b80e7af6ceee68d35 Mon Sep 17 00:00:00 2001 From: xerus2000 <27jf@pm.me> Date: Wed, 23 Dec 2020 16:55:31 +0100 Subject: [PATCH] config/doom: remove undo-tree --- .config/doom/config.el | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.config/doom/config.el b/.config/doom/config.el index 766b100..9bea78a 100644 --- a/.config/doom/config.el +++ b/.config/doom/config.el @@ -42,12 +42,6 @@ (setq evil-want-fine-undo t) (setq amalgamating-undo-limit 5) -(global-undo-tree-mode t) -(setq undo-tree-auto-save-history t - undo-tree-history-directory-alist `(("." . ,(expand-file-name "backups/undo/" user-emacs-directory)))) - -; (advice-add 'undo-auto--last-boundary-amalgamating-number :override #'ignore) - ;; Global config (setq confirm-kill-emacs nil) @@ -80,6 +74,7 @@ (let ((default-directory user-data-dir)) (setq org-directory (expand-file-name "1-projects")) + (setq org-roam-directory (concat (file-name-as-directory (getenv "XDG_DATA_HOME")) "org-roam")) (require 'org) (setq org-agenda-files (apply 'append (mapcar @@ -88,7 +83,6 @@ directory org-agenda-file-regexp)) '("1-projects" "2-standards" "3-resources")))) ) -(setq org-roam-directory (concat (file-name-as-directory (getenv "XDG_DATA_HOME")) "org-roam")) (set-file-template! 'org-mode :ignore t) (setq default-directory org-directory)