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:
parent
29b19412f6
commit
a89d4b7df5
1 changed files with 3 additions and 2 deletions
|
@ -760,8 +760,9 @@
|
||||||
((modulep! :completion helm) #'swiper-isearch-thing-at-point))
|
((modulep! :completion helm) #'swiper-isearch-thing-at-point))
|
||||||
:desc "Dictionary" "t" #'+lookup/dictionary-definition
|
:desc "Dictionary" "t" #'+lookup/dictionary-definition
|
||||||
:desc "Thesaurus" "T" #'+lookup/synonyms
|
:desc "Thesaurus" "T" #'+lookup/synonyms
|
||||||
(:when (fboundp 'vundo)
|
:desc "Undo history" "u"
|
||||||
:desc "Undo history" "u" #'vundo))
|
(cond ((modulep! :emacs undo +tree) #'undo-tree-visualize)
|
||||||
|
((modulep! :emacs undo) #'vundo)))
|
||||||
|
|
||||||
;;; <leader> t --- toggle
|
;;; <leader> t --- toggle
|
||||||
(:prefix-map ("t" . "toggle")
|
(:prefix-map ("t" . "toggle")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue