mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Move undo-fu keybinds to :emacs undo module
This commit is contained in:
@ -366,12 +366,6 @@
|
|||||||
|
|
||||||
(map! "C-'" #'imenu
|
(map! "C-'" #'imenu
|
||||||
|
|
||||||
"C-_" #'undo-fu-only-undo
|
|
||||||
"M-_" #'undo-fu-only-redo
|
|
||||||
"C-M-_" #'undo-fu-only-redo-all
|
|
||||||
"C-x r u" #'undo-fu-session-save
|
|
||||||
"C-x r U" #'undo-fu-session-recover
|
|
||||||
|
|
||||||
;;; Text scaling
|
;;; Text scaling
|
||||||
[C-mouse-4] #'text-scale-increase
|
[C-mouse-4] #'text-scale-increase
|
||||||
[C-mouse-5] #'text-scale-decrease
|
[C-mouse-5] #'text-scale-decrease
|
||||||
|
@ -17,6 +17,11 @@
|
|||||||
:keymap (let ((map (make-sparse-keymap)))
|
:keymap (let ((map (make-sparse-keymap)))
|
||||||
(define-key map [remap undo] #'undo-fu-only-undo)
|
(define-key map [remap undo] #'undo-fu-only-undo)
|
||||||
(define-key map [remap redo] #'undo-fu-only-redo)
|
(define-key map [remap redo] #'undo-fu-only-redo)
|
||||||
|
(define-key map (kbd "C-_") #'undo-fu-only-undo)
|
||||||
|
(define-key map (kbd "M-_") #'undo-fu-only-redo)
|
||||||
|
(define-key map (kbd "C-M-_") #'undo-fu-only-redo-all)
|
||||||
|
(define-key map (kbd "C-x r u") #'undo-fu-session-save)
|
||||||
|
(define-key map (kbd "C-x r U") #'undo-fu-session-recover)
|
||||||
map)
|
map)
|
||||||
:init-value t
|
:init-value t
|
||||||
:global t))
|
:global t))
|
||||||
|
Reference in New Issue
Block a user