   :defer t
   :init (add-hook 'prog-mode-hook 'smartscan-mode))   ;; M-n, M-p
 
+(use-package smartparens
+  :diminish smartparens-mode
+  :config
+  (smartparens-global-mode t)
+  (show-smartparens-global-mode t))
+
 (use-package shell
   :defer t
   :config

(setq gc-cons-threshold 20000000)
;; (setq compilation-skip-threshold 2)

(defalias 'after 'with-eval-after-load)
(add-hook 'focus-out-hook (lambda () (save-some-buffers t)))
(delete-selection-mode t)
(show-paren-mode 1)

(use-package processing-mode :defer t)
(use-package restart-emacs :defer t)
(use-package diffview :defer t)

(when (equal system-type 'darwin)
  (use-package exec-path-from-shell
    :init (exec-path-from-shell-initialize)))

(use-package helm
  :diminish helm-mode
  :config
  (require 'helm-config)
  (setq helm-quick-update nil             ;; blink
