diff .elisp/settings/90.keybindings.el @ 236:3e1ec121efaf

emacs: use smex as a replacement for execute-extended-command
author Augie Fackler <durin42@gmail.com>
date Sat, 18 Dec 2010 10:39:18 -0600
parents 5dbff8b65be7
children 5fd871a98b5f
line wrap: on
line diff
--- a/.elisp/settings/90.keybindings.el
+++ b/.elisp/settings/90.keybindings.el
@@ -26,7 +26,8 @@
 (global-set-key [(meta j)] 'textmate-goto-symbol)
 
 ;; commit emacs heresy?
-(global-set-key [(meta r)] 'execute-extended-command)
+(global-set-key [(meta r)] 'smex)
+(global-set-key (kbd "M-R") 'smex-major-mode-commands)
 
 ;; Mac-like keybindings for undo/cut/copy/paste
 (global-set-key [(meta c)] 'kill-ring-save)