about summary refs log tree commit diff stats
path: root/emacs-prelude/personal/lisp/init-misc.el
diff options
context:
space:
mode:
authorDavid Morgan <djm_uk@protonmail.com>2021-07-09 21:03:07 +0100
committerDavid Morgan <djm_uk@protonmail.com>2021-07-09 21:03:07 +0100
commit02f72d1f9f14ae3c04dc60d99cc5e0c86d064bdf (patch)
treeaa5a09c40b9eb474d1df7cb88f5cbf227c3922ce /emacs-prelude/personal/lisp/init-misc.el
parent22525b8d3c7b4f854d2fdf70967d084246729de9 (diff)
downloaddotfiles-02f72d1f9f14ae3c04dc60d99cc5e0c86d064bdf.tar.gz
More updates - consult, git, multi-vterm
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)