summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2021-02-17 23:06:16 +0000
committerjao <jao@gnu.org>2021-02-17 23:06:16 +0000
commitaa5e78a3c326f80e2920e7431591ce9c93fbc95c (patch)
tree332d135bac94b3eadaff3269497a5df6953d8cad
parent215e217ed0d77cb5249e87a21d7e2a1715bdac45 (diff)
downloadelibs-aa5e78a3c326f80e2920e7431591ce9c93fbc95c.tar.gz
elibs-aa5e78a3c326f80e2920e7431591ce9c93fbc95c.tar.bz2
vterm: binding for C-c, an exwm nightmare
-rw-r--r--init.org3
1 files changed, 2 insertions, 1 deletions
diff --git a/init.org b/init.org
index 455138e..059aafe 100644
--- a/init.org
+++ b/init.org
@@ -2737,7 +2737,8 @@
vterm-use-vterm-prompt-detection-method t
vterm-buffer-name-string nil)
:config
- (define-key vterm-mode-map [(f1)] nil))
+ (define-key vterm-mode-map [(f1)] nil)
+ :bind (:map vterm-mode-map (("C-c C-c" . vterm-send-C-c))))
(defun jao-exec-in-vterm (cmd &optional name)
(vterm)