diff .emacs @ 22:8715ccb6f61b

Start using textmate.el.
author Augie Fackler <durin42@gmail.com>
date Fri, 12 Dec 2008 09:38:16 -0600
parents b5d75594b356
children 614a83a1c5dd
line wrap: on
line diff
--- a/.emacs
+++ b/.emacs
@@ -21,6 +21,10 @@
 (require 'clojure-auto)
 (setq auto-mode-alist (cons '("\\.clj$" . clojure-mode) auto-mode-alist))
 
+(require 'textmate)
+(textmate-mode)
+(textmate-also-ignore "eggs|cover|daisy|.*.pyc")
+
 ; Start the server so that emacsclient will work
 ; TODO: is there a way to *not* start a server if one was already running?
 (server-start)
@@ -92,10 +96,6 @@ point."
 ; always highlight matching paren
 (show-paren-mode 1)
 
-;; Desktop mode to remember buffers
-(load "desktop")
-(setq desktop-enable t)
-
 ;; Automatically revert unedited files that change on the underlying
 ;; system.
 (global-auto-revert-mode)
@@ -107,5 +107,9 @@ point."
 (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)