 
 (add-hook 'org-after-todo-statistics-hook 'org-summary-todo)
 
-;; helm
+;;; helm
 
 (global-set-key (kbd "C-c h k") 'helm-show-kill-ring)
 (global-set-key (kbd "C-c h b") 'helm-buffers-list)
 
-;; magit
+;;; magit
 
 (global-set-key (kbd "C-c g") 'magit-status)
 
-;; scheme
+;;; scheme
 
 (setq scheme-program-name "racket")
 
-;; ruby
+;;; ruby
 
 (add-to-list 'auto-mode-alist '("Rakefile\\'"   . ruby-mode))
 (add-to-list 'auto-mode-alist '("Gemfile\\'"    . ruby-mode))
 (add-to-list 'auto-mode-alist '("\\.gemspec\\'" . ruby-mode))
 
-
-;; javascript
+;;; javascript
 
 (setq js-indent-level 2)
 
-;; haskell
+;;; haskell
 
 (add-hook 'haskell-mode-hook 'turn-on-haskell-indentation)
 (defun mjhoy/define-haskell-keys ()

(setq scroll-conservatively 10000)
(show-paren-mode t)

;; narrowing

(put 'narrow-to-region 'disabled nil)
(put 'narrow-to-page 'disabled nil)

;; projectile

(projectile-global-mode)

;; uniquify

(require 'uniquify)
(setq uniquify-buffer-name-style 'forward)

;; ido

(setq ido-enable-flex-matching t)
(setq ido-everywhere t)

(add-hook 'term-mode-hook (lambda()     ; disable in term mode, yas
                (yas-minor-mode -1)))   ; interacts poorly with it for
                                        ; some reason
;;; flycheck

(add-hook 'scss-mode-hook #'flycheck-mode)
(add-hook 'js-mode-hook   #'flycheck-mode)
