Mercurial > dotfiles
comparison .elisp/settings/90.keybindings.el @ 311:745e7cc9c2cd
emacs: bind C-x C-b to ibuffer, which is awesome
author | Augie Fackler <raf@durin42.com> |
---|---|
date | Tue, 07 May 2013 14:39:15 -0400 |
parents | 5fd871a98b5f |
children | b9c8655f12f0 |
comparison
equal
deleted
inserted
replaced
310:6a773ec78813 | 311:745e7cc9c2cd |
---|---|
32 | 32 |
33 ;; commit emacs heresy? | 33 ;; commit emacs heresy? |
34 (global-set-key [(meta r)] 'smex) | 34 (global-set-key [(meta r)] 'smex) |
35 (global-set-key (kbd "M-R") 'smex-major-mode-commands) | 35 (global-set-key (kbd "M-R") 'smex-major-mode-commands) |
36 | 36 |
37 (global-set-key (kbd "C-x C-b") 'ibuffer) | |
38 | |
37 ;; Mac-like keybindings for undo/cut/copy/paste | 39 ;; Mac-like keybindings for undo/cut/copy/paste |
38 (global-set-key [(meta c)] 'kill-ring-save) | 40 (global-set-key [(meta c)] 'kill-ring-save) |
39 (global-set-key [(meta x)] 'kill-region) | 41 (global-set-key [(meta x)] 'kill-region) |
40 (global-set-key [(meta z)] 'undo) | 42 (global-set-key [(meta z)] 'undo) |
41 (global-set-key [(meta v)] 'yank) | 43 (global-set-key [(meta v)] 'yank) |