aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.emacs1
-rw-r--r--.emacs.local.d/modes/hydra.el13
-rw-r--r--.emacs.local.d/modes/vterm.el1
3 files changed, 15 insertions, 0 deletions
diff --git a/.emacs b/.emacs
index b0fa66e..a9db504 100644
--- a/.emacs
+++ b/.emacs
@@ -29,5 +29,6 @@
(load-file "~/.emacs.local.d/modes/python.el")
(load-file "~/.emacs.local.d/modes/tabbar.el")
(load-file "~/.emacs.local.d/modes/writeroom.el")
+(load-file "~/.emacs.local.d/modes/vterm.el")
(provide '.emacs)
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)
diff --git a/.emacs.local.d/modes/vterm.el b/.emacs.local.d/modes/vterm.el
new file mode 100644
index 0000000..edc3daa
--- /dev/null
+++ b/.emacs.local.d/modes/vterm.el
@@ -0,0 +1 @@
+(use-package multi-vterm :ensure t)
nihil fit ex nihilo