From 0fc780db992ce867f018e0c527e4d9a01e67a517 Mon Sep 17 00:00:00 2001 From: Raul Benencia Date: Fri, 7 Oct 2022 16:28:39 -0700 Subject: emacs: multi-vterm support --- .emacs.local.d/modes/hydra.el | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to '.emacs.local.d/modes/hydra.el') diff --git a/.emacs.local.d/modes/hydra.el b/.emacs.local.d/modes/hydra.el index 139c2c3..cf86a25 100644 --- a/.emacs.local.d/modes/hydra.el +++ b/.emacs.local.d/modes/hydra.el @@ -81,4 +81,17 @@ _s-f_: file _a_: ag _i_: Ibuffer _c_: cache ("=" gofmt :exit t) ("c" go-coverage :exit t)) +;; vterm +(defhydra hydra-vterm () + "zoom" + ("t" multi-vterm "Open a terminal" :exit t) + ("d" multi-vterm-dedicated-open "Dedicated" :exit t) + ("p" multi-vterm-prev "Previous terminal") + ("n" multi-vterm-next "Next terminal") + ("r" multi-vterm-rename-buffer "Rename buffer" :exit t) + ) + +(global-set-key (kbd "C-c t") 'hydra-vterm/body) + + (global-set-key (kbd "C-c m") 'hydra-go/body) -- cgit v1.2.3