Mercurial > dotfiles
comparison .elisp/settings/90.keybindings.el @ 190:5dbff8b65be7
emacs: switch ways of defining M-backsp
author | Augie Fackler <durin42@gmail.com> |
---|---|
date | Sat, 06 Mar 2010 23:10:00 -0600 |
parents | 70dcdb2acade |
children | 3e1ec121efaf |
comparison
equal
deleted
inserted
replaced
189:0487f0197755 | 190:5dbff8b65be7 |
---|---|
1 ;; Key Bindings | 1 ;; Key Bindings |
2 ; M-backspace kills the current buffer | 2 ; M-backspace kills the current buffer |
3 (global-set-key [(meta backspace)] 'kill-this-buffer) | 3 (global-set-key [(meta backspace)] 'kill-this-buffer) |
4 (global-set-key "\M-\d" 'kill-this-buffer) | |
4 ; Save early and often, with only one keystroke | 5 ; Save early and often, with only one keystroke |
5 (global-set-key [(meta s)] 'save-buffer) | 6 (global-set-key [(meta s)] 'save-buffer) |
6 ; Typing tab is for lesser editors, make hitting return do that | 7 ; Typing tab is for lesser editors, make hitting return do that |
7 (global-set-key "\C-m" 'indent-new-comment-line) | 8 (global-set-key "\C-m" 'indent-new-comment-line) |
8 ; M-l makes more sense to me for jumping to a line | 9 ; M-l makes more sense to me for jumping to a line |