From bd790936ca25e0e28f235a3ca9c5603632d7bafb Mon Sep 17 00:00:00 2001 From: Sami Samhuri Date: Sat, 15 May 2010 23:54:26 -0700 Subject: [PATCH] use textmate-mode again. cleaned up unused icicles and tramp stuff. --- emacs | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/emacs b/emacs index 4687f0a..76ba3e9 100644 --- a/emacs +++ b/emacs @@ -17,10 +17,6 @@ (if (file-readable-p file) (add-to-list 'load-path file))) -;; use icicles for enhanced minibuffer completion and lots of other goodies -(let ((load-paths '("~/.emacs.d" "~/.emacs.d/icicles"))) - (mapcar 'add-to-load-path load-paths)) - ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; global config @@ -56,7 +52,7 @@ (server-start) ;; setup tramp mode -(setq tramp-default-method "ssh") +;; (setq tramp-default-method "ssh") ;; complete like zsh's complete-in-word option (p-b expands to print-buffer) (load "complete") @@ -68,6 +64,15 @@ (setq track-eol t) ; When at EOL, C-n and C-p move to EOL on other lines (setq indent-tabs-mode nil) ; never insert tabs + +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; textmate mode +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + +(require 'textmate) +(textmate-mode) + + ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; minimap ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; @@ -139,7 +144,6 @@ (add-to-list 'auto-mode-alist '("zshrc$" . sh-mode)) - ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; ruby ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; @@ -435,12 +439,12 @@ If N is non-nil switch to the nth next window." ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. - '(blink-cursor-mode nil) '(c-hanging-semi&comma-criteria (quote set-from-style)) '(case-fold-search t) '(column-number-mode t) '(current-language-environment "UTF-8") '(default-input-method "rfc1345") + '(display-time-mode t) '(face-font-family-alternatives (quote (("bistream vera sans mono" "courier" "fixed") ("helv" "helvetica" "arial" "fixed")))) '(global-font-lock-mode t nil (font-lock)) '(icicle-reminder-prompt-flag 5) @@ -457,8 +461,7 @@ If N is non-nil switch to the nth next window." '(save-place t nil (saveplace)) '(scroll-bar-mode nil) '(show-paren-mode t nil (paren)) - '(tool-bar-mode nil) - '(transient-mark-mode t)) + '(tool-bar-mode nil)) (if linux-p (custom-set-faces