added M-- and M-_ keybindings for undo/redo

This commit is contained in:
2012-02-24 20:47:41 +00:00
parent fde75218cc
commit 9fb4dcd38a

View File

@@ -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)