                ([remap next-line]                . next-logical-line)
                ([remap previous-line]            . previous-logical-line))))
 
-;; Happy Emacs exec-path in Emacs
+;; Sets $MANPATH, $PATH and exec-path from your shell, but only on OS X and Linux.
 (use-package exec-path-from-shell
   :config
   (when (memq window-system '(mac ns x))

                (bind-keys :map js-mode-map
                           ("C-c d" . js-doc-insert-file-doc)
                           ("C-c f" . js-doc-insert-function-doc-snippet)))

              (define-key js-mode-map [menu-bar] nil)))



;; Turn on subword mode for all prog modes
(use-package syntax-subword
  :config
  (add-hook 'prog-mode-hook #'(lambda () (syntax-subword-mode 1))))

(use-package expand-region
  :config
