diff --git a/home/jonas/static/doom-config/config.el b/home/jonas/static/doom-config/config.el index 1023ee3..ac5d3a2 100644 --- a/home/jonas/static/doom-config/config.el +++ b/home/jonas/static/doom-config/config.el @@ -97,4 +97,4 @@ ("C-TAB" . 'copilot-accept-completion-by-word) ("C-" . 'copilot-accept-completion-by-word))) -(global-undo-tree-mode) +(add-hook! 'after-change-major-mode-hook #'undo-tree-mode)