diff options
author | Raul Benencia <rul@kalgan.cc> | 2022-10-07 16:28:39 -0700 |
---|---|---|
committer | Raul Benencia <rul@kalgan.cc> | 2022-10-07 16:28:39 -0700 |
commit | 0fc780db992ce867f018e0c527e4d9a01e67a517 (patch) | |
tree | ac7cbb8be8d9722db7fbbee73fab2c408f6861f6 /.emacs.local.d/modes/hydra.el | |
parent | 77c6924a6815c54a66bb228b5b47c49f9fca8feb (diff) |
emacs: multi-vterm support
Diffstat (limited to '.emacs.local.d/modes/hydra.el')
-rw-r--r-- | .emacs.local.d/modes/hydra.el | 13 |
1 files changed, 13 insertions, 0 deletions
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) |