From 92e2eaeebc8078c1e0439a5c28f8d383f88befa5 Mon Sep 17 00:00:00 2001 From: Lucien Cartier-Tilet Date: Sun, 3 Jul 2022 12:26:04 +0200 Subject: [PATCH] [Emacs] Add multi-vterm package --- org/config/emacs.org | 28 +++++++++++++++++++++++----- 1 file changed, 23 insertions(+), 5 deletions(-) diff --git a/org/config/emacs.org b/org/config/emacs.org index 962707d..9ba8b9f 100644 --- a/org/config/emacs.org +++ b/org/config/emacs.org @@ -2865,6 +2865,23 @@ an interrupt signal. (setq vterm-shell "/usr/bin/fish")) #+end_src +One annoying think with vterm is it only can create one buffer, you +can’t have multiple vterm buffers by default. ~multi-vterm~ fixes this +issue. +#+begin_src emacs-lisp +(use-package multi-vterm + :after vterm + :defer t + :straight (:build t) + :general + (phundrak/major-leader-key + :packages '(vterm multi-vterm) + :keymap 'vterm-mode-map + "c" #'multi-vterm + "n" #'multi-vterm-next + "p" #'multi-vterm-prev)) +#+end_src + *** XWidgets Webkit Browser :PROPERTIES: :CUSTOM_ID: Packages-Configuration-Applications-XWidgets-Webkit-Browsertui1fl6184j0 @@ -8120,11 +8137,12 @@ Here are my apps keybinds. Each one of them is prefixed by ~a~. I also have two main shell-related functions, prefixed with ~as~. #+name: keybinds-apps-shell -| Key | Function | Description | -|-----+------------+-------------| -| | | shells | -| e | eshell-new | | -| v | vterm | | +| Key | Function | Description | +|-----+-------------+-------------| +| | | shells | +| e | eshell-new | | +| v | vterm | | +| V | multi-vterm | | ** Buffers :PROPERTIES: