feat(tools/emacs): Add vterm-send-ctrl-x function
This is useful if something accidentally opens nano.
This commit is contained in:
parent
b9b741287a
commit
74a70896f2
1 changed files with 5 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue