Skip to content

Commit 36f6963

Browse files
Inc0njixiuf
authored andcommitted
Enable selection for commands in copy-mode
1 parent f14d113 commit 36f6963

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

vterm.el

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1702,15 +1702,15 @@ More information see `vterm--prompt-tracking-enabled-p' and
17021702
Move the point to the first character after the shell prompt on this line.
17031703
If the point is already there, move to the beginning of the line.
17041704
Effectively toggle between the two positions."
1705-
(interactive)
1705+
(interactive "^")
17061706
(if (vterm--at-prompt-p)
17071707
(goto-char (vterm--get-beginning-of-line))
17081708
(goto-char (max (or (vterm--get-prompt-point) 0)
17091709
(vterm--get-beginning-of-line)))))
17101710

17111711
(defun vterm-end-of-line ()
17121712
"Move point to the end of the line, bypassing line wraps."
1713-
(interactive)
1713+
(interactive "^")
17141714
(goto-char (vterm--get-end-of-line)))
17151715

17161716
(defun vterm-reset-cursor-point ()

0 commit comments

Comments
 (0)