Last active
December 15, 2015 08:39
-
-
Save wfaler/5232556 to your computer and use it in GitHub Desktop.
.emacs
This file contains hidden or 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
(require 'package) | |
(add-to-list 'package-archives | |
'("marmalade" . | |
"http://marmalade-repo.org/packages/")) | |
(package-initialize) | |
(setq indent-tabs-mode nil) | |
(setq tab-width 2) | |
(add-to-list 'load-path "~/.emacs.d/ensime_2.10.0-0.9.8.9/elisp/") | |
(require 'ensime) | |
;; This step causes the ensime-mode to be started whenever | |
;; scala-mode is started for a buffer. You may have to customize this step | |
;; if you're not using the standard scala mode. | |
(add-hook 'scala-mode-hook 'ensime-scala-mode-hook) | |
(add-hook 'haskell-mode-hook '(lambda () | |
(setq haskell-indent 2))) | |
(load-theme 'solarized-dark t) | |
(column-number-mode) | |
(global-set-key (kbd "M-3") '(lambda () (interactive) (insert "#"))) | |
(if window-system | |
(set-frame-size (selected-frame) 180 55)) | |
(server-start) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
package-install the following:
haskell-mode
scala-mode
clojure-mode
nrepl
solarized-theme