 (key-chord-define-global "JJ" 'switch-to-previous-buffer)
 (key-chord-mode +1)
 
-;;; use DejaVu Sans Mono
+;; use DejaVu Sans Mono
 (ignore-errors (set-frame-font (format "%s-10" "DejaVu Sans Mono")))
 
-;;;; Language specific settings
-
-;;; c-mode
+;;; Language specific settings
+
+;; c-mode
 (setq c-default-style "stroustrup")
 
-;;; cc-mode
+;; cc-mode
 (add-hook 'c++-mode-hook
           (lambda ()
             (c-add-style "my-cc-style"

;; join-line
(global-set-key (kbd "C-c j") 'join-line)

;;; highlight every line
(global-hl-line-mode 1)

;;; turn off blinking cursor
(blink-cursor-mode 0)

;;; tags
(global-set-key (kbd "C-c t") 'find-tag)

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

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

;;; paredit
(setq paredit-space-for-delimiter-predicates
      '((lambda (del endp)
          (if (member major-mode '(haskell-mode clojure-mode emacs-lisp-mode

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