Created
April 4, 2013 20:37
-
-
Save dstcruz/5314140 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; dansan's basic emacs configuration | |
;; for emacs 24 | |
(setq default-mayor-mode 'text-mode) | |
(setq make-backup-files nil) | |
(setq auto-save-default nil) | |
(setq inhibit-splash-screen t) | |
(setq inhibit-startup-message t) | |
(setq scroll-set 1 scroll-conservatively 10000) | |
(tool-bar-mode nil) | |
(column-number-mode t) | |
(ido-mode t) | |
;; This is from Steve Yegge's suggestions | |
(global-set-key "\C-w" 'backward-kill-word) ;; make it work like the command line | |
(global-set-key "\C-c\C-k" 'kill-region) ;; what C-w used to be | |
(require 'package) | |
(add-to-list 'package-archives '("melpa" . "http://melpa.milkbox.net/packages/") t) | |
(package-initialize) | |
(when (not (package-installed-p 'haskell-mode)) | |
(package-install 'haskell-mode)) | |
(add-hook 'haskell-mode-hook 'font-lock-mode) | |
(add-hook 'haskell-mode-hook 'turn-on-haskell-doc-mode) | |
(add-hook 'haskell-mode-hook 'turn-on-haskell-indentation) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment