about summary refs log tree commit diff stats
path: root/emacs-prelude/personal/lisp/init-misc.el
diff options
context:
space:
mode:
Diffstat (limited to 'emacs-prelude/personal/lisp/init-misc.el')
-rw-r--r--emacs-prelude/personal/lisp/init-misc.el14
1 files changed, 13 insertions, 1 deletions
diff --git a/emacs-prelude/personal/lisp/init-misc.el b/emacs-prelude/personal/lisp/init-misc.el
index fd1396c..20dcca5 100644
--- a/emacs-prelude/personal/lisp/init-misc.el
+++ b/emacs-prelude/personal/lisp/init-misc.el
@@ -10,11 +10,23 @@
   (rg-enable-default-bindings))
 
 (prelude-require-package 'restclient)
-(use-package restclient)
+(use-package restclient
+  :mode (("\\.http\\'" . restclient-mode)))
 
 (prelude-require-package 'es-mode)
 (use-package es-mode
   :mode "\.es\'")
 
+(prelude-require-package 'multi-vterm)
+(use-package multi-vterm
+  :init (unbind-key "C-c t" prelude-mode-map)
+  :bind (("C-c t" . multi-vterm-next)
+         ("C-c M-t" . multi-vterm)
+         (:map vterm-mode-map
+               ("C-a" . vterm-send-C-a) ; TODO the crux binding is taking precedence
+               ("C-c C-a" . vterm-send-C-a)
+               ("M-[" . multi-vterm-prev)
+               ("M-]" . multi-vterm-next))))
+
 (provide 'init-misc)