From f8fce7f283c89ba72a1cbbf3150e7c6e6cc3d57d Mon Sep 17 00:00:00 2001 From: Inc0n Date: Sat, 6 Aug 2022 23:35:46 +0100 Subject: [PATCH] Enable selection for commands in copy-mode --- vterm.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vterm.el b/vterm.el index 630b50e..1aea374 100644 --- a/vterm.el +++ b/vterm.el @@ -1692,7 +1692,7 @@ More information see `vterm--prompt-tracking-enabled-p' and Move the point to the first character after the shell prompt on this line. If the point is already there, move to the beginning of the line. Effectively toggle between the two positions." - (interactive) + (interactive "^") (if (vterm--at-prompt-p) (goto-char (vterm--get-beginning-of-line)) (goto-char (max (or (vterm--get-prompt-point) 0) @@ -1700,7 +1700,7 @@ Effectively toggle between the two positions." (defun vterm-end-of-line () "Move point to the end of the line, bypassing line wraps." - (interactive) + (interactive "^") (goto-char (vterm--get-end-of-line))) (defun vterm-reset-cursor-point ()