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 ()