Move undo-tree to its own config file

This commit is contained in:
Jeremy Dormitzer 2021-02-20 14:58:09 -05:00
parent b165c51e77
commit a3d4ba6327
3 changed files with 10 additions and 7 deletions

View File

@ -1,12 +1,5 @@
;; General text editing configuration
;; Tree-shaped undos
(use-package undo-tree
:config
(global-undo-tree-mode)
:general
("C-c C-r" #'undo-tree-visualize))
;; Better isearch
(use-package ctrlf
:config

View File

@ -0,0 +1,9 @@
;; Tree-shaped undos
(use-package undo-tree
:demand t
:config
(global-undo-tree-mode)
:bind ("C-c C-r" . undo-tree-visualize))
(provide 'init-undo)

View File

@ -37,6 +37,7 @@
;; Load config modules
(add-to-list 'load-path (expand-file-name "config" user-emacs-directory))
(require 'init-defaults)
(require 'init-undo)
(require 'init-evil)
(require 'init-keybindings)
(require 'init-auth)