Move some config where it belongs
This commit is contained in:
parent
74e1eac940
commit
d180bb71b3
1 changed files with 6 additions and 6 deletions
|
@ -55,11 +55,6 @@
|
|||
(setq auto-save-file-name-transforms
|
||||
`((".*" ,temporary-file-directory t)))
|
||||
|
||||
;; autosave the undo-tree history
|
||||
(setq undo-tree-history-directory-alist
|
||||
`((".*" . ,temporary-file-directory)))
|
||||
(setq undo-tree-auto-save-history t)
|
||||
|
||||
;; revert buffers automatically when underlying files are changed externally
|
||||
(global-auto-revert-mode t)
|
||||
|
||||
|
@ -360,7 +355,12 @@ indent yanked text (with prefix arg don't indent)."
|
|||
;; enable Prelude's keybindings
|
||||
(prelude-mode t)
|
||||
|
||||
;; sensible undo
|
||||
;; supercharge your undo/redo with undo-tree
|
||||
(require 'undo-tree)
|
||||
;; autosave the undo-tree history
|
||||
(setq undo-tree-history-directory-alist
|
||||
`((".*" . ,temporary-file-directory)))
|
||||
(setq undo-tree-auto-save-history t)
|
||||
(global-undo-tree-mode)
|
||||
(diminish 'undo-tree-mode)
|
||||
|
||||
|
|
Loading…
Reference in a new issue