aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2022-05-11 20:15:06 +0800
committerGuangxiong Lin <[email protected]>2022-05-11 20:15:06 +0800
commitdd2a2fbc97e2f51e59e74c8850cfb8eede76b572 (patch)
treed69574b29a6e30552e1397469b7f3e7fa37a9c08
parent32d6f340d3fb74fb3ca15e068f89ef92bcf7b880 (diff)
downloaddotfiles-dd2a2fbc97e2f51e59e74c8850cfb8eede76b572.tar.gz
dotfiles-dd2a2fbc97e2f51e59e74c8850cfb8eede76b572.tar.bz2
dotfiles-dd2a2fbc97e2f51e59e74c8850cfb8eede76b572.zip
Add vterm in emacs
-rw-r--r--.emacs.d/init.el1
-rw-r--r--.emacs.d/lisp/init-terminal.el5
2 files changed, 6 insertions, 0 deletions
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)