mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
tweak(default): add binding for undo-tree
This also makes the check for the presence of vundo consistent with the rest of the file by using modulep! instead of fboundp.
This commit is contained in:
@ -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")
|
||||
|
Reference in New Issue
Block a user