 ;; Autocomplete
 (ac-config-default)
 
-;; Ac-js2 mode
-(add-hook 'js2-mode-hook 'ac-js2-mode)
-
 ;; Restclient
 (require 'restclient)
 


;; Multiple Cursors
(require 'multiple-cursors)
;;(global-set-key (kbd "C-S-c C-S-c") 'edit-lines)
(global-set-key (kbd "C-c l") 'mc/mark-next-like-this)
;;(global-set-key (kbd "C-<") 'mark-previous-like-this)
(global-set-key (kbd "C-c C-<") 'mc/mark-all-like-this)

;; Dired


;; 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)))
