Move undo-fu keybinds to :emacs undo module
This commit is contained in:
parent
3e340ab415
commit
1d6f0b3e44
2 changed files with 5 additions and 6 deletions
|
@ -366,12 +366,6 @@
|
|||
|
||||
(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
|
||||
[C-mouse-4] #'text-scale-increase
|
||||
[C-mouse-5] #'text-scale-decrease
|
||||
|
|
|
@ -17,6 +17,11 @@
|
|||
:keymap (let ((map (make-sparse-keymap)))
|
||||
(define-key map [remap undo] #'undo-fu-only-undo)
|
||||
(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)
|
||||
:init-value t
|
||||
:global t))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue