I'm following the instruction and have vterm opened in bottom window with
(setq vterm-toggle-fullscreen-p nil)
(add-to-list 'display-buffer-alist
'((lambda(bufname _) (with-current-buffer bufname (equal major-mode 'vterm-mode)))
(display-buffer-reuse-window display-buffer-at-bottom)
;;(display-buffer-reuse-window display-buffer-in-direction)
;;display-buffer-in-direction/direction/dedicated is added in emacs27
;;(direction . bottom)
;;(dedicated . t) ;dedicated is supported in emacs27
(reusable-frames . visible)
(window-height . 0.3)))
However, when I exit vterm, the buffer window still remains, I have to manually close that buffer and that is not what I want. I also add vterm-kill-buffer-on-exit but it has no effect.
I'm following the instruction and have
vterm
opened in bottom window withHowever, when I exit
vterm
, the buffer window still remains, I have to manually close that buffer and that is not what I want. I also addvterm-kill-buffer-on-exit
but it has no effect.