 
 
 ;; `which-key'
-(after! which-key
-  (setq which-key-popup-type 'custom
-        which-key-custom-popup-max-dimensions-function (lambda (_) (which-key--side-window-max-dimensions))
-        which-key-custom-hide-popup-function #'which-key--hide-buffer-side-window
-        which-key-custom-show-popup-function
-        (lambda (act-popup-dim)
-          (cl-letf (((symbol-function 'display-buffer-in-side-window)
-                     (lambda (buffer alist)
-                       (+popup-display-buffer-stacked-side-window
-                        buffer (append '((vslot . -9999)) alist)))))
-            (which-key--show-buffer-side-window act-popup-dim)))))
+(setq which-key-popup-type 'custom
+      which-key-custom-popup-max-dimensions-function (lambda (_) (which-key--side-window-max-dimensions))
+      which-key-custom-hide-popup-function #'which-key--hide-buffer-side-window
+      which-key-custom-show-popup-function
+      (lambda (act-popup-dim)
+        (cl-letf (((symbol-function 'display-buffer-in-side-window)
+                   (lambda (buffer alist)
+                     (+popup-display-buffer-stacked-side-window
+                      buffer (append '((vslot . -9999)) alist)))))
+          (which-key--show-buffer-side-window act-popup-dim))))
 
 
 ;; `windmove'



;; `evil'
(after! evil
  (defun +popup*evil-command-window (hist cmd-key execute-fn)
    "The evil command window has a mind of its own (uses `switch-to-buffer'). We
monkey patch it to use pop-to-buffer, and to remember the previous window."



;; `eshell'
(progn
  (setq eshell-destroy-buffer-when-process-dies t)

  ;; When eshell runs a visual command (see `eshell-visual-commands'), it spawns
