config/doom: remove undo-tree

This commit is contained in:
xerus2000 2020-12-23 16:55:31 +01:00
parent 3c0a2e8bcb
commit 1925e5ba4e
1 changed files with 1 additions and 7 deletions

View File

@ -42,12 +42,6 @@
(setq evil-want-fine-undo t) (setq evil-want-fine-undo t)
(setq amalgamating-undo-limit 5) (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 ;; Global config
(setq confirm-kill-emacs nil) (setq confirm-kill-emacs nil)
@ -80,6 +74,7 @@
(let ((default-directory user-data-dir)) (let ((default-directory user-data-dir))
(setq org-directory (expand-file-name "1-projects")) (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) (require 'org)
(setq org-agenda-files (apply 'append (setq org-agenda-files (apply 'append
(mapcar (mapcar
@ -88,7 +83,6 @@
directory org-agenda-file-regexp)) directory org-agenda-file-regexp))
'("1-projects" "2-standards" "3-resources")))) '("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) (set-file-template! 'org-mode :ignore t)
(setq default-directory org-directory) (setq default-directory org-directory)