   :init
   (add-to-list 'auto-mode-alist '("\\.js\\'" . js2-mode))
   :config
+  (setq js2-include-node-externs t)
   (setq js2-basic-offset 2)
   (setq js2-strict-missing-semi-warning nil)
   (setq js-switch-indent-offset 2))
+
+(use-package js-comint
+  :ensure t
+  :init
+  (setq inferior-js-program-command "node")
+  (setq inferior-js-program-arguments '("--interactive"))
+  (add-hook 'js2-mode-hook
+          (lambda ()
+            (local-set-key (kbd "C-x C-e") 'js-send-last-sexp)
+            (local-set-key (kbd "C-M-x") 'js-send-last-sexp-and-go)
+            (local-set-key (kbd "C-c b") 'js-send-buffer)
+            (local-set-key (kbd "C-c C-b") 'js-send-buffer-and-go)
+            (local-set-key (kbd "C-c l") 'js-load-file-and-go))))
 
 (use-package magit
   :ensure t

 '(compilation-message-face (quote default))
 '(custom-safe-themes
   (quote
    ("840db7f67ce92c39deb38f38fbc5a990b8f89b0f47b77b96d98e4bf400ee590a" "84d2f9eeb3f82d619ca4bfffe5f157282f4779732f48a5ac1484d94d5ff5b279" default)))
 '(highlight-changes-colors (quote ("#FD5FF0" "#AE81FF")))
 '(highlight-tail-colors
   (quote

  ("C-<" . mc/mark-previous-like-this)
  ("C-c C-<" . mc/mark-all-like-this))

;; (use-package neotree
;;   :ensure t
;;   :defer t
;;   :bind
;;   ("C->" . neotree-toggle)
;;   :config
;;   (setq neo-smart-open t))

(use-package org
  :ensure t
