Skip to content

Commit

Permalink
tweak(default): add binding for undo-tree
Browse files Browse the repository at this point in the history
This also makes the check for the presence of vundo consistent with the
rest of the file by using modulep! instead of fboundp.
  • Loading branch information
real-or-random authored Dec 1, 2023
1 parent 29b1941 commit a89d4b7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions modules/config/default/+evil-bindings.el
Original file line number Diff line number Diff line change
Expand Up @@ -760,8 +760,9 @@
((modulep! :completion helm) #'swiper-isearch-thing-at-point))
:desc "Dictionary" "t" #'+lookup/dictionary-definition
:desc "Thesaurus" "T" #'+lookup/synonyms
(:when (fboundp 'vundo)
:desc "Undo history" "u" #'vundo))
:desc "Undo history" "u"
(cond ((modulep! :emacs undo +tree) #'undo-tree-visualize)
((modulep! :emacs undo) #'vundo)))

;;; <leader> t --- toggle
(:prefix-map ("t" . "toggle")
Expand Down

0 comments on commit a89d4b7

Please sign in to comment.