                      shrink-whitespace
                      expand-region
                      visual-regexp
-                     rainbow-mode
+                     ;; rainbow-mode
                      smart-mark
                      google-translate
                      glsl-mode

(add-hook 'lisp-interaction-mode-hook 'eldoc-mode)
(add-hook 'ielm-mode-hook 'eldoc-mode)

(require 'rainbow-mode)
(diminish 'rainbow-mode)
(add-hook 'emacs-lisp-mode-hook 'rainbow-mode)
(add-hook 'js2-mode-hook 'rainbow-mode)

(require 'highlight-symbol)
(diminish 'highlight-symbol-mode)

(counsel-projectile-mode)
(setq counsel-projectile-ag-initial-input '(projectile-symbol-or-selection-at-point))
(bind-key "M-g" 'counsel-projectile-ag)
(bind-key "C-x C-p" 'counsel-projectile)

(require 'helpful)
(bind-keys ("C-h f" . helpful-function)
