Skip to content

Instantly share code, notes, and snippets.

@dstcruz
Created April 4, 2013 20:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dstcruz/5314140 to your computer and use it in GitHub Desktop.
Save dstcruz/5314140 to your computer and use it in GitHub Desktop.
;; 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