Mercurial > dotfiles
comparison .emacs @ 32:dc1c584707e6
Add some colorized diff stuff to emacs.
author | Augie Fackler <durin42@gmail.com> |
---|---|
date | Fri, 09 Jan 2009 11:28:24 -0600 |
parents | 260deb14fbc8 |
children | 1c70c9393f45 |
comparison
equal
deleted
inserted
replaced
31:a5691a22c92b | 32:dc1c584707e6 |
---|---|
14 (require 'ipython) | 14 (require 'ipython) |
15 | 15 |
16 (require 'show-wspace) | 16 (require 'show-wspace) |
17 | 17 |
18 (require 'mercurial) | 18 (require 'mercurial) |
19 | |
20 ; improved diff mode | |
21 (require 'diff-mode-) | |
19 | 22 |
20 ; Clojure | 23 ; Clojure |
21 (require 'clojure-auto) | 24 (require 'clojure-auto) |
22 (setq auto-mode-alist (cons '("\\.clj$" . clojure-mode) auto-mode-alist)) | 25 (setq auto-mode-alist (cons '("\\.clj$" . clojure-mode) auto-mode-alist)) |
23 | 26 |
114 (global-set-key "\M-l" 'goto-line) | 117 (global-set-key "\M-l" 'goto-line) |
115 ; Sometimes C-h is what Backspace sends in a terminal, and I never use C-h | 118 ; Sometimes C-h is what Backspace sends in a terminal, and I never use C-h |
116 (global-set-key "\C-h" 'backward-delete-char-untabify) | 119 (global-set-key "\C-h" 'backward-delete-char-untabify) |
117 ; M-t is what I want for the textmate file finding | 120 ; M-t is what I want for the textmate file finding |
118 (global-set-key [(meta t)] 'textmate-goto-file) | 121 (global-set-key [(meta t)] 'textmate-goto-file) |
119 (global-set-key [(meta shift f)] 'textmate-find-in-project-type) | 122 (global-set-key [(meta z)] 'textmate-find-in-project-type) |