Browse Source

Add undo-fu keybind

master
10sr 4 years ago
parent
commit
e55134fae8
Signed by: 10sr GPG Key ID: 7BEC428194130EB2
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      emacs.el

+ 5
- 0
emacs.el View File

@@ -441,6 +441,11 @@ found, otherwise returns nil."
(global-set-key (kbd "C-s") 'isearch-forward-regexp) (global-set-key (kbd "C-s") 'isearch-forward-regexp)
(global-set-key (kbd "C-r") 'isearch-backward-regexp) (global-set-key (kbd "C-r") 'isearch-backward-regexp)


(when (fboundp 'undo-fu-only-undo)
(global-set-key (kbd "C-_") 'undo-fu-only-undo))
(when (fboundp 'undo-fu-only-redo)
(global-set-key (kbd "C-M-_") 'undo-fu-only-redo))

(require 'page-ext nil t) (require 'page-ext nil t)


(when (safe-require-or-eval 'page-break-lines) (when (safe-require-or-eval 'page-break-lines)


Loading…
Cancel
Save