We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3155a47 commit 48172ceCopy full SHA for 48172ce
vterm.el
@@ -938,6 +938,14 @@ running in the terminal (like Emacs or Nano)."
938
(memq 'shift modifiers)
939
(memq 'meta modifiers)
940
(memq 'control modifiers)))))
941
+
942
+(defun vterm-send-C-k ()
943
+ "Send `C-k' to the libvterm and copy that region."
944
+ (interactive)
945
+ (let ((end (save-excursion
946
+ (end-of-visible-line) (point))))
947
+ (copy-region-as-kill (point) end))
948
+ (vterm-send "C-k"))
949
950
(defun vterm-send-start ()
951
"Output from the system is started when the system receives START."
0 commit comments