Move undo-tree to its own file

This commit is contained in:
Maciej 2020-11-28 18:40:23 +02:00
parent affdeb52fe
commit b0b29418dd
Signed by: maciej
GPG key ID: 41D62D42D3B0D765
2 changed files with 26 additions and 12 deletions

View file

@ -155,18 +155,6 @@
(keyfreq-mode t)
(keyfreq-autosave-mode t)
;;;;;;;;;;;;;;;;; Use more advanced undo options
(use-package undo-tree
:defer t
:ensure t
:config (setq-default
;; Show diff
undo-tree-visualizer-diff t
;; Show timestamps
undo-tree-visualizer-timestamps t))
(global-undo-tree-mode t)
;;;;;;;;;;;;;;;;; Show hints about key combinations
(use-package which-key
:defer t

26
pkg/undo-tree.el Normal file
View file

@ -0,0 +1,26 @@
;;; undo-tree.el --- summary
;; Author: Maciej Szlosarczyk
;; Maintainer: Maciej Szlosarczyk
;; Version: 0.1-snapshot
;;; Commentary:
;; Use more advanced undo options.
;;; Code:
;;;;;;;;;;;;;;;;; Use more advanced undo options
(use-package undo-tree
:defer t
:ensure t
:config (setq-default
;; Show diff
undo-tree-visualizer-diff t
;; Show timestamps
undo-tree-visualizer-timestamps t))
(global-undo-tree-mode t)
(provide 'pkg/undo-tree)
;;; undo-tree.el ends here