 (global-set-key (kbd "S-C-<up>") 'enlarge-window)
 (global-set-key (kbd "C-c C-b") 'eval-buffer)
 
-(browse-kill-ring-default-keybindings)
 (setq scroll-error-top-bottom 'true)
 
 (defun open-line-below ()

(smex-initialize)
(global-set-key (kbd "M-x") 'smex)
(global-set-key (kbd "M-X") 'smex-major-mode-commands)
(global-set-key (kbd "C-c C-c M-x") 'execute-extended-command)

;; IDO Mode
(require 'ido)
(ido-mode t)
(ido-grid-mode 1)
;;(Require 'ido-vertical-mode)
;;(ido-mode 1)
;;(ido-vertical-mode 1)
;;(setq ido-vertical-define-keys 'C-n-and-C-p-only)

;; Expand Region
(require 'expand-region)


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

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