diff options
author | jao <jao@gnu.org> | 2022-01-12 02:18:18 +0000 |
---|---|---|
committer | jao <jao@gnu.org> | 2022-01-12 02:18:18 +0000 |
commit | ac58616752652cf6203f9562a9137ab45e2d57d5 (patch) | |
tree | 74837fce10e5db12f58874867c09d3f16c988db8 /attic | |
parent | dc1ebade6e706f652b43a459cff1ed571a096b29 (diff) | |
download | elibs-ac58616752652cf6203f9562a9137ab45e2d57d5.tar.gz elibs-ac58616752652cf6203f9562a9137ab45e2d57d5.tar.bz2 |
vterm redux
Diffstat (limited to 'attic')
-rw-r--r-- | attic/misc.org | 21 |
1 files changed, 1 insertions, 20 deletions
diff --git a/attic/misc.org b/attic/misc.org index ddc5cd9..39b1cc8 100644 --- a/attic/misc.org +++ b/attic/misc.org @@ -577,7 +577,7 @@ #+end_src * vterm -*** vterm +*** vterm-toggle #+begin_src emacs-lisp :tangle no (use-package vterm-toggle :ensure t @@ -586,25 +586,6 @@ (interactive "P") (if cd (vterm-toggle-cd) (vterm-toggle))) :bind (("C-<f3>" . jao-vterm--toggle))) - - (use-package vterm - :ensure t - :config - :custom ((vterm-kill-buffer-on-exit t))) - - (use-package eshell-vterm - :ensure t - :config (eshell-vterm-mode)) - - (defun jao-exec-in-vterm (cmd bname) - (if (string-blank-p (or cmd "")) - (vterm) - (let ((vterm-shell cmd) - (vterm-kill-buffer-on-exit t) - (buff (generate-new-buffer bname))) - (switch-to-buffer buff) - (vterm-mode)))) - #+end_src *** Vterm repls #+begin_src emacs-lisp |