Skip to content

Instantly share code, notes, and snippets.

@wfaler
Last active December 15, 2015 08:39
Show Gist options
  • Save wfaler/5232556 to your computer and use it in GitHub Desktop.
Save wfaler/5232556 to your computer and use it in GitHub Desktop.
.emacs
(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)
@wfaler
Copy link
Author

wfaler commented Mar 24, 2013

package-install the following:
haskell-mode
scala-mode
clojure-mode
nrepl
solarized-theme

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment