diff --git a/emacs/.emacs.d/config/init-git.el b/emacs/.emacs.d/config/init-git.el index 5e425b9..276803b 100644 --- a/emacs/.emacs.d/config/init-git.el +++ b/emacs/.emacs.d/config/init-git.el @@ -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))