summaryrefslogtreecommitdiffstats
path: root/tmux.1
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2023-07-03 20:01:12 +0100
committerThomas Adam <thomas@xteddy.org>2023-07-03 20:01:12 +0100
commit1a11c972aed11c1996d732f15ad16f02c668b5a0 (patch)
treeeefa473bb9296b1e16bcf0a7fe6c94ee893dc4ae /tmux.1
parentf9b0460840b68ae2a569d7965d934ef733ebdf52 (diff)
parent43b841f188c994966e00e59c96581b876652bef1 (diff)
Merge branch 'obsd-master'
Diffstat (limited to 'tmux.1')
-rw-r--r--tmux.112
1 files changed, 12 insertions, 0 deletions
diff --git a/tmux.1 b/tmux.1
index 84a2a448..16b694f7 100644
--- a/tmux.1
+++ b/tmux.1
@@ -1790,6 +1790,7 @@ The following commands are supported in copy mode:
.It Li "middle-line" Ta "M" Ta "M-r"
.It Li "next-matching-bracket" Ta "%" Ta "M-C-f"
.It Li "next-paragraph" Ta "}" Ta "M-}"
+.It Li "next-prompt" Ta "" Ta ""
.It Li "next-space" Ta "W" Ta ""
.It Li "next-space-end" Ta "E" Ta ""
.It Li "next-word" Ta "w" Ta ""
@@ -1803,6 +1804,7 @@ The following commands are supported in copy mode:
.It Li "pipe-and-cancel [<command>] [<prefix>]" Ta "" Ta ""
.It Li "previous-matching-bracket" Ta "" Ta "M-C-b"
.It Li "previous-paragraph" Ta "{" Ta "M-{"
+.It Li "previous-prompt" Ta "" Ta ""
.It Li "previous-space" Ta "B" Ta ""
.It Li "previous-word" Ta "b" Ta "M-b"
.It Li "rectangle-on" Ta "" Ta ""
@@ -1852,6 +1854,16 @@ repeats the last search and
does the same but reverses the direction (forward becomes backward and backward
becomes forward).
.Pp
+The
+.Ql next-prompt
+and
+.Ql previous-prompt
+move between shell prompts, but require the shell to emit an escape sequence
+(\e033]133;A\e033\e\e) to tell
+.Nm
+where the prompts are located; if the shell does not do this, these commands
+will do nothing.
+.Pp
Copy commands may take an optional buffer prefix argument which is used
to generate the buffer name (the default is
.Ql buffer