Mercurial > dotfiles
comparison .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 |
comparison
equal
deleted
inserted
replaced
235:678ed4e870f1 | 236:3e1ec121efaf |
---|---|
24 | 24 |
25 ;; M-j for jump to function definition | 25 ;; M-j for jump to function definition |
26 (global-set-key [(meta j)] 'textmate-goto-symbol) | 26 (global-set-key [(meta j)] 'textmate-goto-symbol) |
27 | 27 |
28 ;; commit emacs heresy? | 28 ;; commit emacs heresy? |
29 (global-set-key [(meta r)] 'execute-extended-command) | 29 (global-set-key [(meta r)] 'smex) |
30 (global-set-key (kbd "M-R") 'smex-major-mode-commands) | |
30 | 31 |
31 ;; Mac-like keybindings for undo/cut/copy/paste | 32 ;; Mac-like keybindings for undo/cut/copy/paste |
32 (global-set-key [(meta c)] 'kill-ring-save) | 33 (global-set-key [(meta c)] 'kill-ring-save) |
33 (global-set-key [(meta x)] 'kill-region) | 34 (global-set-key [(meta x)] 'kill-region) |
34 (global-set-key [(meta z)] 'undo) | 35 (global-set-key [(meta z)] 'undo) |