From 5167a3947fb5a713a38668414bf99c6263fc9108 Mon Sep 17 00:00:00 2001 From: Luke Hoersten Date: Sun, 3 Apr 2011 11:26:27 -0500 Subject: Added eclipse-style line moving and eshell init. --- init.el | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'init.el') diff --git a/init.el b/init.el index 989b561..dc9596e 100644 --- a/init.el +++ b/init.el @@ -52,6 +52,7 @@ (cond ((string-match "darwin" (emacs-version)) "Menlo-12") ((string-match "HoldenCaulfield" (system-name)) "monospace-7") + ((string-match "lhoersten-66113" (system-name)) "monospace-8") ("monospace-10"))) (tool-bar-mode -1) ; remove tool bar @@ -68,7 +69,11 @@ ;;; terminal (global-set-key (kbd "C-c s") 'eshell) ; start shell -(add-hook 'eshell-mode-hook '(lambda () (setenv "TERM" "emacs"))) ; enable colors +(add-hook + 'eshell-mode-hook + '(lambda () + (setenv "TERM" "emacs") ; enable colors + (setenv "PATH" (concat "~/.cabal/bin:" (getenv "PATH"))))) ; add cabal binaries ;;;; Mode-Specific ;;;; @@ -158,6 +163,7 @@ (require 'hoersten-pastebin-region) ; send selected text to pastebin (require 'hoersten-c-style) ; load c specific lisp (require 'vala-mode) ; vala programming language +(require 'move-line) ; move line up or down ;;; pretty-mode - unicode character replacement (require 'pretty-mode) -- cgit v1.2.3