about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--tools/emacs/config/functions.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/emacs/config/functions.el b/tools/emacs/config/functions.el
index 62611bb63857..24d998ed9e37 100644
--- a/tools/emacs/config/functions.el
+++ b/tools/emacs/config/functions.el
@@ -300,4 +300,9 @@
                       (= (map-elt (notmuch-show-get-message-properties) :depth) current-depth)))))
   (force-window-update))
 
+(defun vterm-send-ctrl-x ()
+  "Sends `C-x' to the libvterm."
+  (interactive)
+  (vterm-send-key "x" nil nil t))
+
 (provide 'functions)