feat(tools/emacs): Add vterm-send-ctrl-x function

This is useful if something accidentally opens nano.
This commit is contained in:
Vincent Ambo 2020-05-26 01:21:02 +01:00
parent b9b741287a
commit 74a70896f2

View file

@ -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)