Clear vterm after exporting $EDITOR

This commit is contained in:
Jeremy Dormitzer 2021-02-22 19:36:27 -05:00
parent 31ed2cba5c
commit f855abbfe4

View File

@ -21,7 +21,9 @@
(use-package with-editor
:hook ((eshell-mode . with-editor-export-editor)
(shell-mode . with-editor-export-editor)
(vterm-mode . with-editor-export-editor))
(vterm-mode . (lambda ()
(with-editor-export-editor)
(vterm-clear))))
:commands (with-editor-async-shell-command
with-editor-shell-command))