                   'css-mode-hook
                   'html-mode-hook
                   'js2-mode-hook)
-  :config
-  (use-package flycheck-pos-tip)
+  :config (use-package flycheck-pos-tip)
   (setq flycheck-display-errors-function
         #'flycheck-pos-tip-error-messages))
 
-(use-package flyspell
-  :diminish " $"
+(use-package flyspell :diminish " $"
   :bind ("C-; $" . flyspell-mode)
   :init (hook-all #'flyspell-mode
                   'org-mode-hook

;; navigation ;;
;;;;;;;;;;;;;;;;

(use-package recentf
  :bind ("C-c f" . recentf-ido-find-file)
  :config (recentf-mode 1)
  (defun recentf-ido-find-file ()
    "Find a recent file using ido."
    (interactive)
    (let ((file (ido-completing-read "Choose recent file: " recentf-list nil t)))
      (when file
        (find-file file)))))

(defun ido-recentf-open ()
  "Use `ido-completing-read' to \\[find-file] a recent file."
  (interactive)
  (if (find-file (ido-completing-read "Find recent file: " recentf-list))
      (message "Opening file...")
    (message "Aborting")))

(use-package ido :demand
  :init
  (setq ad-redefinition-action 'accept)
  :config
  (setq ad-redefinition-action 'warn)
  (ido-mode 1)
  (ido-everywhere 1)
  (use-package flx-ido)


(use-package smartparens-config :demand :diminish (smartparens-mode . "")
  :ensure smartparens
  :config (smartparens-global-mode 1)
  (bind-keys :map smartparens-mode-map
             ;; paredit bindings
             ("C-)" . sp-forward-slurp-sexp)
             ("C-}" . sp-dedent-adjust-sexp)
             ("C-(" . sp-backward-slurp-sexp)
             ("C-{" . sp-backward-barf-sexp)
             ("M-s" . sp-splice-sexp)
             ("M-S" . sp-split-sexp)
             ("M-J" . sp-join-sexp)
             ("M-?" . sp-convolute-sexp)
             ;; more magic added by smartparens
             ("M-I" . sp-indent-defun)
             ("M-(" . sp-indent-adjust-sexp)       ; mimic C-(
             ("M-)" . sp-add-to-next-sexp)         ; mimic C-)
             ("M-/" . sp-rewrap-sexp)
             ("C-<" . sp-extract-before-sexp)
             ("C->" . sp-extract-after-sexp)
             ;; navigation via parentheses
             ("M-n" . sp-down-sexp)
             ("M-p" . sp-backward-down-sexp)
             ("M-[" . sp-backward-up-sexp) ; mimic M-< and M-{
             ("M-]" . sp-up-sexp)          ; also replace M-)
             ("C-S-r" . sp-select-previous-thing-exchange)
             ("C-S-s" . sp-select-next-thing)
             ;; emacs stuff ; overrides
             ("C-M-f" . sp-forward-sexp)              ; forward-sexp
             ("C-M-b" . sp-backward-sexp)             ; backward-sexp
             ("C-M-a" . sp-beginning-of-sexp)     ; beginning-of-defun
             ("C-M-e" . sp-end-of-sexp)           ; end-of-defun
             ("C-M-n" . sp-next-sexp)             ; forward-list
             ("C-M-p" . sp-previous-sexp)         ; backward-list
             ("C-j" . sp-newline)  ; electric-newline-and-maybe-indent
             ("C-M-t"   . sp-transpose-sexp) ; transpose-sexp
             ("C-x C-t" . sp-transpose-hybrid-sexp) ; transpose-lines
             ("C-M-k"           . sp-kill-sexp)     ; kill-sexp
             ("<C-M-backspace>" . sp-backward-kill-sexp) ; backward-kill-sexp
             ("<C-backspace>" . sp-splice-sexp-killing-backward)
             ("C-M-d" . sp-splice-sexp-killing-forward) ; down-list
             ("C-M-u" . sp-unwrap-sexp)         ; backward-up-list
             ;; strict mode stuff
             ("C-d"   . sp-delete-char)                  ; delete-char
             ("DEL"   . sp-backward-delete-char) ; backward-delete-char
             ("M-DEL" . sp-backward-kill-word)   ; backward-kill-word
             ("M-d"   . sp-kill-word)            ; kill-word
             ("C-k"   . sp-kill-hybrid-sexp)     ; kill-line
             )
  (show-smartparens-global-mode t)
  (set-face-attribute 'sp-show-pair-match-face nil ;; ELEGENT WEAPONS
                      :background "#181818"        ;; Star Wound
