mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
added M-- and M-_ keybindings for undo/redo
This commit is contained in:
@@ -34,6 +34,10 @@
|
||||
(global-set-key (kbd "C-c /") 'comment-or-uncomment-region-or-line)
|
||||
(global-set-key (kbd "C-c C-/") 'comment-or-uncomment-region-or-line)
|
||||
|
||||
(when (require 'undo-tree nil 'noerror)
|
||||
(global-set-key (kbd "M--") 'undo-tree-undo)
|
||||
(global-set-key (kbd "M-_") 'undo-tree-redo))
|
||||
|
||||
;; Mac OS X specific keybindings
|
||||
(when (eq system-type 'darwin)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user