comparison .emacs @ 74:fd369b708cbe

Better way of altering load-path, add support for local-to-machine emacs configs.
author Augie Fackler <durin42@gmail.com>
date Thu, 09 Apr 2009 13:27:19 -0500
parents 5c25d3dc29ab
children 2b2a667092fd
comparison
equal deleted inserted replaced
73:b84c4cac3148 74:fd369b708cbe
1 ;; Augie Fackler's .emacs file 1 ;; Augie Fackler's .emacs file
2 ; Places I've stolen from: 2 ; Places I've stolen from:
3 ; Karl Fogel: http://svn.red-bean.com/repos/kfogel/trunk 3 ; Karl Fogel: http://svn.red-bean.com/repos/kfogel/trunk
4 ; Dave Anderson: 4 ; Dave Anderson:
5 5
6 (setq load-path (cons (expand-file-name "~/.elisp") load-path)) 6 (add-to-list 'load-path (expand-file-name "~/.elisp"))
7 ; Better buffer switching and file loading (load first in case we need the 7 ; Better buffer switching and file loading (load first in case we need the
8 ; * Messages * buffer) 8 ; * Messages * buffer)
9 (require 'ido) 9 (require 'ido)
10 (setq ido-enable-flex-matching t) 10 (setq ido-enable-flex-matching t)
11 (ido-mode t) 11 (ido-mode t)
132 ; M-t is what I want for the textmate file finding 132 ; M-t is what I want for the textmate file finding
133 (global-set-key [(meta t)] 'textmate-goto-file) 133 (global-set-key [(meta t)] 'textmate-goto-file)
134 (global-set-key [(meta z)] 'textmate-find-in-project-type) 134 (global-set-key [(meta z)] 'textmate-find-in-project-type)
135 (global-set-key [(meta m)] 'iconify-or-deiconify-frame) 135 (global-set-key [(meta m)] 'iconify-or-deiconify-frame)
136 (global-set-key [(control backspace)] 'kill-word) 136 (global-set-key [(control backspace)] 'kill-word)
137
138
139 (if (file-regular-p (expand-file-name (concat (getenv "HOME") "/.emacs-machine.el")))
140 (load (expand-file-name "~/.emacs-machine.el")))