From 9fe9f89333de6922ba393b97b95f4283aafde14d Mon Sep 17 00:00:00 2001 From: Stefan Lendl Date: Mon, 11 Sep 2023 13:14:49 +0200 Subject: [PATCH] tweak(vterm): vterm-send-next-key mapped to C-q --- modules/term/vterm/config.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/term/vterm/config.el b/modules/term/vterm/config.el index 7ed3bedec..4f9b393e6 100644 --- a/modules/term/vterm/config.el +++ b/modules/term/vterm/config.el @@ -17,6 +17,8 @@ :config (set-popup-rule! "^\\*vterm" :size 0.25 :vslot -4 :select t :quit nil :ttl 0) + (map! :map vterm-mode-map "C-q" #'vterm-send-next-key) + ;; Once vterm is dead, the vterm buffer is useless. Why keep it around? We can ;; spawn another if want one. (setq vterm-kill-buffer-on-exit t)