aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorInc0n <o28c14@gmai.com>2022-08-06 23:35:46 +0100
committerjixiuf <jixiuf@qq.com>2023-01-30 10:40:37 +0800
commit36f6963044d09d65b585895b64e1d06507b109ed (patch)
tree9be78e0253ec0f3a4209e5f5af9749bcf6938525
parentf14d113ee4618f052879509ec378feb9766b871b (diff)
Enable selection for commands in copy-mode
-rw-r--r--vterm.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/vterm.el b/vterm.el
index 1943ab3..eeaf50a 100644
--- a/vterm.el
+++ b/vterm.el
@@ -1702,7 +1702,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)
@@ -1710,7 +1710,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 ()