diff options
author | Dmitry Gutov <dgutov@yandex.ru> | 2021-09-29 22:44:40 +0300 |
---|---|---|
committer | Dmitry Gutov <dgutov@yandex.ru> | 2021-09-29 22:45:07 +0300 |
commit | 6fecf6ef2552a9b44c4311b7d5af3af0a5a54dbe (patch) | |
tree | 5f2ed3b3dee284cc1c8485a02c7377fc72275acd /lisp/bindings.el | |
parent | fd244c9e46f52d8b2de4adeb457cd3b021bebfff (diff) | |
download | emacs-6fecf6ef2552a9b44c4311b7d5af3af0a5a54dbe.tar.gz |
Add bindings for 'undo-redo'
* etc/NEWS: Describe the change.
* lisp/bindings.el (global-map): Add bindings for 'undo-redo'.
* lisp/simple.el (undo-no-redo): Turn into a user option.
Diffstat (limited to 'lisp/bindings.el')
-rw-r--r-- | lisp/bindings.el | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/bindings.el b/lisp/bindings.el index 343f1ba0fa7..9a3505058c4 100644 --- a/lisp/bindings.el +++ b/lisp/bindings.el @@ -994,6 +994,9 @@ if `inhibit-field-text-motion' is non-nil." "Keymap to repeat undo key sequences `C-x u u'. Used in `repeat-mode'.") (put 'undo 'repeat-map 'undo-repeat-map) +(define-key global-map (kbd "C-?") 'undo-redo) +(define-key global-map [?\C-\M-_] 'undo-redo) + (define-key esc-map "!" 'shell-command) (define-key esc-map "|" 'shell-command-on-region) (define-key esc-map "&" 'async-shell-command) |