 
 (global-hl-line-mode 1)
 
-;; thrift-mode
-(require 'thrift-mode)
-
-;; yaml mode
-(require 'yaml-mode)
-
 ;; multiple-cursors
 (require 'multiple-cursors)
 (global-set-key (kbd "C-S-c C-S-c") 'mc/edit-lines)

;; save every n keystrokes
(setq auto-save-interval 20)

;; clojure-mode
(add-hook 'clojure-mode-hook 'paredit-mode)
(add-hook 'clojure-mode-hook (lambda () (define-clojure-indent
                                     (lazy-seq 'defun)
                                     (cond 'defun))))

;; emacs-lisp-mode
(add-hook 'emacs-lisp-mode-hook 'paredit-mode)
(add-hook 'emacs-lisp-mode-hook 'eldoc-mode)

;; nrepl-mode
(add-hook 'nrepl-mode-hook 'paredit-mode)
(add-hook 'nrepl-interaction-mode-hook 'nrepl-turn-on-eldoc-mode)

;; remove line highlighting
(remove-hook 'prog-mode-hook 'esk-turn-on-hi-line-mode)


            (define-key haskell-mode-map (kbd "C-c >") 'haskell-move-nested-right)
            (define-key haskell-mode-map (kbd "C-c <") 'haskell-move-nested-left)))

;; js-mode
(add-hook 'js-mode-hook
          (lambda ()
            (font-lock-add-keywords
             'js-mode `(("\\(function *\\)("
                         (0 (progn (compose-region (match-beginning 1)
                                                   (match-end 1) "\u03BB")
                                   nil)))))))

;; python-mode
(setq python-remove-cwd-from-path nil)

;; thrift-mode
(require 'thrift-mode)

;; yaml mode
(require 'yaml-mode)

;; load desired theme
(load-theme 'nzenburn t)
