Mercurial > dotfiles
diff .elisp/settings/90.keybindings.el @ 77:45d7441d0cf2
Modularize .emacs
author | Augie Fackler <durin42@gmail.com> |
---|---|
date | Thu, 09 Apr 2009 13:39:20 -0500 |
parents | |
children | df45e402581c |
line wrap: on
line diff
new file mode 100644 --- /dev/null +++ b/.elisp/settings/90.keybindings.el @@ -0,0 +1,16 @@ +;; Key Bindings +; M-backspace kills the current buffer +(global-set-key [(meta backspace)] 'kill-this-buffer) +; Save early and often, with only one keystroke +(global-set-key [(meta s)] 'save-buffer) +; Typing tab is for lesser editors, make hitting return do that +(global-set-key "\C-m" 'newline-and-indent) +; M-l makes more sense to me for jumping to a line +(global-set-key "\M-l" 'goto-line) +; Sometimes C-h is what Backspace sends in a terminal, and I never use C-h +(global-set-key "\C-h" 'backward-delete-char-untabify) +; M-t is what I want for the textmate file finding +(global-set-key [(meta t)] 'textmate-goto-file) +(global-set-key [(meta z)] 'textmate-find-in-project-type) +(global-set-key [(meta m)] 'iconify-or-deiconify-frame) +(global-set-key [(control backspace)] 'kill-word)