diff options
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 |