From c8e1b07e287da300a388913767a4a21df2c8ace4 Mon Sep 17 00:00:00 2001 From: kj Date: Wed, 6 Apr 2022 04:14:57 -0400 Subject: [PATCH] Add multiple vterm. --- configs/base-extensions.el | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/configs/base-extensions.el b/configs/base-extensions.el index d9beae4..5423d62 100644 --- a/configs/base-extensions.el +++ b/configs/base-extensions.el @@ -31,7 +31,10 @@ (use-package all-the-icons :defer t) ;; Terminal -(use-package vterm :defer t) +(use-package vterm :ensure t :defer t) + +;; Multiple vterm +(use-package multi-vterm :ensure t :defer t) ;; Highlight en los números. (use-package highlight-numbers @@ -299,7 +302,9 @@ (evil-define-key 'normal 'global (kbd "mp") 'php-mode) ;; Atajo para abrir vterm - (evil-define-key 'normal 'global (kbd "t") 'vterm) + (evil-define-key 'normal 'global (kbd "tt") 'multi-vterm-dedicated-toggle) + (evil-define-key 'normal 'global (kbd "tf") 'multi-vterm) + (evil-define-key 'normal 'global (kbd "tp") 'multi-vterm-project) ;; Cambiar el cursor según el estado (setq evil-emacs-state-cursor 'bar)