 ;; Anzu
 (global-anzu-mode +1)
 
-;; Save last desktop
-;; (desktop-save-mode 1)
-
-;; Multiple Cursors
+;; Multiple Cursors - fix this
 (require 'multiple-cursors)
 (global-set-key (kbd "C-c l") 'mc/mark-next-like-this)
 (global-set-key (kbd "C-c C-<") 'mc/mark-all-like-this)


;;;;;;;;;;;;;;;;;;; Javascript ;;;;;;;;;;;;;;;;;;;
;; js2-mode
(add-to-list 'auto-mode-alist '("\\.js\\'" . js2-mode))
(add-to-list 'interpreter-mode-alist '("node" . js2-mode))

;; Js2 refactor
(require 'js2-refactor)
(add-hook 'js2-mode-hook #'js2-refactor-mode)
(js2r-add-keybindings-with-prefix "C-c C-m")

;; JS comint
(require 'js-comint)
;;(setq inferior-js-program-command "/usr/bin/java org.mozilla.javascript.tools.shell.Main -classpath")
(setq inferior-js-program-command "/Users/josh/.nvm/versions/node/v7.2.1/bin/node")
(add-hook 'js2-mode-hook '(lambda ()
			    (local-set-key "\C-x\C-e" 'js-send-last-sexp)
			    (local-set-key "\C-c\C-e"  'js-send-last-sexp-and-go)
			    (local-set-key "\C-cb"    'js-send-buffer)
			    (local-set-key "\C-c\C-b" 'js-send-buffer-and-go)
			    (local-set-key "\C-cl"    'js-load-file-and-go)))

;; JS format
;; (setenv "PATH" (concat "/usr/local/bin/node:" (getenv "PATH")))

(global-set-key (kbd "S-C-<up>") 'enlarge-window)
(global-set-key (kbd "C-c C-b") 'eval-buffer)

(setq scroll-error-top-bottom 'true)

(defun open-line-below ()
