From 7fb37be85f53fc33e40137f5945ce4040affcd45 Mon Sep 17 00:00:00 2001 From: Jeremy Dormitzer Date: Mon, 29 Apr 2024 16:23:53 -0400 Subject: [PATCH] Add keybinding to send arbitrary keystrokes to vterm --- emacs/.emacs.d/config/init-vterm.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/emacs/.emacs.d/config/init-vterm.el b/emacs/.emacs.d/config/init-vterm.el index 024c3a3..ffc9bdf 100644 --- a/emacs/.emacs.d/config/init-vterm.el +++ b/emacs/.emacs.d/config/init-vterm.el @@ -47,6 +47,8 @@ (leader-map "v" #'vterm) (vterm-mode-map "C-x C-e" #'vterm-edit-zsh-command-line "C-c C-g" #'vterm-send-C-g) + ((normal motion insert) vterm-mode-map + "C-q" #'vterm-send-next-key) :custom (vterm-max-scrollback 10000) (vterm-environment '("TYPEWRITTEN_CURSOR=terminal"))