Move undo-tree to its own file
This commit is contained in:
parent
affdeb52fe
commit
b0b29418dd
2 changed files with 26 additions and 12 deletions
12
pkg/base.el
12
pkg/base.el
|
|
@ -155,18 +155,6 @@
|
||||||
(keyfreq-mode t)
|
(keyfreq-mode t)
|
||||||
(keyfreq-autosave-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
|
;;;;;;;;;;;;;;;;; Show hints about key combinations
|
||||||
(use-package which-key
|
(use-package which-key
|
||||||
:defer t
|
:defer t
|
||||||
|
|
|
||||||
26
pkg/undo-tree.el
Normal file
26
pkg/undo-tree.el
Normal 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
|
||||||
Loading…
Add table
Add a link
Reference in a new issue