diff --git a/home/jonas/static/doom-config/config.el b/home/jonas/static/doom-config/config.el index 9314914..7fc00e7 100644 --- a/home/jonas/static/doom-config/config.el +++ b/home/jonas/static/doom-config/config.el @@ -97,4 +97,10 @@ ("C-TAB" . 'copilot-accept-completion-by-word) ("C-" . 'copilot-accept-completion-by-word))) -;;(add-hook! 'after-change-major-mode-hook #'undo-tree-mode) +(add-hook! 'after-change-major-mode-hook #'undo-tree-mode) +(after! undo-tree + (setq undo-tree-auto-save-history t) + (setq undo-tree-history-directory-alist '(("." . "~/.cache/doom/undo")))) + +(after! grip + (setq grip-preview-use-webkit t))