From dd2a2fbc97e2f51e59e74c8850cfb8eede76b572 Mon Sep 17 00:00:00 2001 From: Guangxiong Lin Date: Wed, 11 May 2022 20:15:06 +0800 Subject: Add vterm in emacs --- .emacs.d/init.el | 1 + .emacs.d/lisp/init-terminal.el | 5 +++++ 2 files changed, 6 insertions(+) create mode 100644 .emacs.d/lisp/init-terminal.el diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 2f14bf0..663bf79 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -36,6 +36,7 @@ (require 'init-projectile) (require 'init-markdown) (require 'init-git) +(require 'init-terminal) (require 'init-misc) (require 'init-appearance) diff --git a/.emacs.d/lisp/init-terminal.el b/.emacs.d/lisp/init-terminal.el new file mode 100644 index 0000000..b5777f7 --- /dev/null +++ b/.emacs.d/lisp/init-terminal.el @@ -0,0 +1,5 @@ +(gx/maybe-require-package 'vterm) + +(setq vterm-kill-buffer-on-exit t) + +(provide 'init-terminal) -- cgit v1.2.3