   (bind-key "<tab>" #'dired-subtree-toggle dired-mode-map)
   (bind-key "<backtab>" #'dired-subtree-cycle dired-mode-map))
 
+(use-package with-editor :ensure t
+  :config
+  (add-hook 'shell-mode-hook  'with-editor-export-editor))
+
 (use-package fullframe :ensure t
   :commands (fullframe)
   :config

        (append winner-boring-buffers '("*helm M-x*"
                                        "helm mini*"
                                        "*helm projectile*")))
  :bind (("<escape>" . ar/dwim-key-esc)
         ("C-c <right>" . winner-redo)
         ("C-c <left>" . winner-undo)))

(use-package helm-descbinds :ensure
  :bind (("C-h b" . helm-descbinds)

  (require 'smartparens-config)
  (require 'smartparens-html)
  (require 'smartparens-python)
  (smartparens-global-strict-mode)
  :bind
  (:map prog-mode-map
        ("C-c <right>" . sp-forward-slurp-sexp)
        ("C-c <left>" . sp-backward-slurp-sexp)))

(defun ar/sp-backward-delete-char-advice-fun (orig-fun &rest r)
  "Play nice with `hungry-delete-backward' in ORIG-FUN and R."
