Added initial emacs init

This commit is contained in:
Vincent Ambo 2013-07-01 02:32:30 +02:00
parent 384b4e1ec1
commit ee76e971ce

19
init.el Normal file
View file

@ -0,0 +1,19 @@
(require 'package)
(add-to-list 'package-archives
'("marmalade" . "http://marmalade-repo.org/packages/") t)
(package-initialize)
(when (not package-archive-contents)
(package-refresh-contents))
;; Important packages
(defvar my-pkgs '(starter-kit starter-kit-bindings haskell-mode)
"A list of packages to install at launch.")
(dolist (p my-pkgs)
(when (not (package-installed-p p))
(package-install p)))
;; Configure haskell-mode
(custom-set-variables
'(haskell-mode-hook '(turn-on-haskell-indentation)))