                   (split-window-below)
                   (windmove-down)
                   (when open-term
-                    (vterm))))
+                    (vterm t))))
 (global-set-key (kbd "M-v")
                 (lambda (&optional open-term)
                   (interactive "P")

                  (split-window-right)
                  (windmove-right)
                  (when open-term
                    (vterm))))
(global-set-key (kbd "M-w")
                'delete-window)
(global-set-key (kbd "M-o")

                                             (split-window-below)
                                             (windmove-down)
                                             (when open-term
                                               (vterm t))))
    (define-key vterm-mode-map (kbd "M-v") (lambda (&optional open-term)
                                             (interactive "P")
                                             (split-window-right)
                                             (windmove-right)
                                             (when open-term
                                               (vterm t))))
    (add-to-list 'display-buffer-alist
                 '((lambda (bufname _)
                     (s-starts-with-p "*popup-shell" bufname))
