 (when (fboundp 'winner-mode)
   (winner-mode 1))
 
-;;; Editing
+;;;; Editing
 (setq create-lockfiles nil)
 (setq desktop-dirname "~/.emacs.d")
 (setq history-length 250)

      (message "Make directory: %s" dir)
      (make-directory dir))))

;;; Package management
(require 'package)
(setq
 package-archives '(("gnu" . "https://elpa.gnu.org/packages/")

;; 	       (require 'groovy-electric)
;; 	       (groovy-electric-mode))))

;;;; ENSIME for Scala
(setq exec-path (append exec-path '("/usr/local/bin")))
(setq exec-path (append exec-path '("/usr/local/sbin")))
(setenv "PATH" (concat (getenv "PATH") ":/usr/local/bin"))
(use-package ensime)
;(add-hook 'scala-mode-hook 'ensime-scala-mode-hook)

;;;; Misc
; http://rawsyntax.com/blog/learn-emacs-zsh-and-multi-term/
(use-package multi-term
  :pin "melpa")
