Skip to content

Commit

Permalink
💄
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter-Chou committed Aug 28, 2023
1 parent b835760 commit f269c1e
Showing 1 changed file with 3 additions and 15 deletions.
18 changes: 3 additions & 15 deletions lisp/init-basic.el
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,8 @@
(when (file-exists-p custom-file)
(load custom-file 'noerror 'nomessage))

;; Treat undo history as a tree
(use-package undo-tree
:diminish
:hook (after-init . global-undo-tree-mode)
:init
(setq undo-tree-visualizer-timestamps t
undo-tree-enable-undo-in-region nil
undo-tree-auto-save-history nil)

;; HACK: keep the diff window
(with-no-warnings
(make-variable-buffer-local 'undo-tree-visualizer-diff)
(setq-default undo-tree-visualizer-diff t)))
;; alternative to undo-tree
(use-package undo-fu)

(use-package solar
:ensure nil
Expand All @@ -51,8 +40,7 @@
(use-package autorevert
:ensure nil
:diminish
:hook (after-init . global-auto-revert-mode)
:init (setq global-auto-revert-non-file-buffers t))
:hook (after-init . global-auto-revert-mode))

;; Cross-referencing commands
(use-package xref
Expand Down

0 comments on commit f269c1e

Please sign in to comment.