summaryrefslogtreecommitdiffstats
path: root/tmux.1
diff options
context:
space:
mode:
authornicm <nicm>2023-08-08 08:21:29 +0000
committernicm <nicm>2023-08-08 08:21:29 +0000
commit7a44984069328b3eaab36d590c403d23d109aa47 (patch)
treefbd0416d1f521781589e32060db84fe75fa37379 /tmux.1
parentdee72ed41f54d9ba12b1ce20c18476d9276a876d (diff)
Add flag to next-prompt/previous-prompt to go to command output instead,
from Magnus Gross.
Diffstat (limited to 'tmux.1')
-rw-r--r--tmux.1107
1 files changed, 77 insertions, 30 deletions
diff --git a/tmux.1 b/tmux.1
index 0fdbe41b..8647ea4c 100644
--- a/tmux.1
+++ b/tmux.1
@@ -1782,29 +1782,35 @@ Exit copy mode.
.Xc
Clear the current selection.
.It Xo
-.Ic copy-end-of-line [<prefix>]
+.Ic copy-end-of-line
+.Op Ar prefix
.Xc
Copy from the cursor position to the end of the line.
.Ar prefix
is used to name the new paste buffer.
.It Xo
-.Ic copy-end-of-line-and-cancel [<prefix>]
+.Ic copy-end-of-line-and-cancel
+.Op Ar prefix
.Xc
Copy from the cursor position and exit copy mode.
.It Xo
-.Ic copy-line [<prefix>]
+.Ic copy-line
+.Op Ar prefix
.Xc
Copy the entire line.
.It Xo
-.Ic copy-line-and-cancel [<prefix>]
+.Ic copy-line-and-cancel
+.Op Ar prefix
.Xc
Copy the entire line and exit copy mode.
.It Xo
-.Ic copy-selection [<prefix>]
+.Ic copy-selection
+.Op Ar prefix
.Xc
Copies the current selection.
.It Xo
-.Ic copy-selection-and-cancel [<prefix>]
+.Ic copy-selection-and-cancel
+.Op Ar prefix
(vi: Enter)
(emacs: M-w)
.Xc
@@ -1840,7 +1846,8 @@ Move the cursor up.
.Xc
Move the cursor to the end of the line.
.It Xo
-.Ic goto-line <line>
+.Ic goto-line
+.Ar line
(vi: :)
(emacs: g)
.Xc
@@ -1864,13 +1871,15 @@ Scroll to the top of the history.
.Xc
Repeat the last jump.
.It Xo
-.Ic jump-backward <to>
+.Ic jump-backward
+.Ar to
(vi: F)
(emacs: F)
.Xc
Jump backwards to the specified text.
.It Xo
-.Ic jump-forward <to>
+.Ic jump-forward
+.Ar to
(vi: f)
(emacs: f)
.Xc
@@ -1901,6 +1910,7 @@ Move to the next matching bracket.
Move to the next paragraph.
.It Xo
.Ic next-prompt
+.Op Fl o
.Xc
Move to the next prompt.
.It Xo
@@ -1933,6 +1943,7 @@ Move to the previous matching bracket.
Move to the previous paragraph.
.It Xo
.Ic previous-prompt
+.Op Fl o
.Xc
Move to the previous prompt.
.It Xo
@@ -1960,12 +1971,14 @@ Refresh the content from the pane.
.Xc
Repeat the last search.
.It Xo
-.Ic search-backward <for>
+.Ic search-backward
+.Ar text
(vi: ?)
.Xc
Search backwards for the specified text.
.It Xo
-.Ic search-forward <for>
+.Ic search-forward
+.Ar text
(vi: /)
.Xc
Search forward for the specified text.
@@ -2033,6 +2046,9 @@ move between shell prompts, but require the shell to emit an escape sequence
.Nm
where the prompts are located; if the shell does not do this, these commands
will do nothing.
+The
+.Fl o
+flag jumps to the beginning of the command output instead of the shell prompt.
.Pp
Copy commands may take an optional buffer prefix argument which is used
to generate the buffer name (the default is
@@ -4073,6 +4089,26 @@ The default is to run
.Xr lock 1
with
.Fl np .
+.It Ic menu-style Ar style
+Set the menu style.
+See the
+.Sx STYLES
+section on how to specify
+.Ar style .
+Attributes are ignored.
+.It Ic menu-border-style Ar style
+Set the menu border style.
+See the
+.Sx STYLES
+section on how to specify
+.Ar style .
+Attributes are ignored.
+.It Ic menu-border-lines Ar type
+Set the type of characters used for drawing menu borders.
+See
+.Ic popup-border-lines
+for possible values for
+.Ar type .
.It Ic message-command-style Ar style
Set status line message command style.
This is used for the command prompt with
@@ -4540,20 +4576,18 @@ Attributes are ignored.
.Pp
.It Ic popup-style Ar style
Set the popup style.
-For how to specify
-.Ar style ,
-see the
+See the
.Sx STYLES
-section.
+section on how to specify
+.Ar style .
Attributes are ignored.
.Pp
.It Ic popup-border-style Ar style
Set the popup border style.
-For how to specify
-.Ar style ,
-see the
+See the
.Sx STYLES
-section.
+section on how to specify
+.Ar style .
Attributes are ignored.
.Pp
.It Ic popup-border-lines Ar type
@@ -6028,9 +6062,12 @@ the default is
.Tg menu
.It Xo Ic display-menu
.Op Fl O
+.Op Fl b Ar border-lines
.Op Fl c Ar target-client
+.Op Fl s Ar style
+.Op Fl S Ar border-style
.Op Fl t Ar target-pane
-.Op Fl S Ar starting-choice
+.Op Fl C Ar starting-choice
.Op Fl T Ar title
.Op Fl x Ar position
.Op Fl y Ar position
@@ -6057,10 +6094,24 @@ may not be chosen.
The name may be empty for a separator line, in which case both the key and
command should be omitted.
.Pp
+.Fl b
+sets the type of characters used for drawing menu borders.
+See
+.Ic popup-border-lines
+for possible values for
+.Ar border-lines .
+.Pp
+.Fl s
+sets the style for the menu and
+.Fl S
+sets the style for the menu border (see
+.Sx STYLES ) .
+.Pp
.Fl T
is a format for the menu title (see
.Sx FORMATS ) .
-.Fl S
+.Pp
+.Fl C
sets the menu item selected by default, if the menu is not bound to a mouse key
binding.
.Pp
@@ -6175,8 +6226,8 @@ forwards any input read from stdin to the empty pane given by
.Op Fl d Ar start-directory
.Op Fl e Ar environment
.Op Fl h Ar height
-.Op Fl s Ar style
-.Op Fl S Ar border-style
+.Op Fl s Ar border-style
+.Op Fl S Ar style
.Op Fl t Ar target-pane
.Op Fl T Ar title
.Op Fl w Ar width
@@ -6219,7 +6270,7 @@ If omitted, half of the terminal size is used.
does not surround the popup by a border.
.Pp
.Fl b
-sets the type of border line for the popup.
+sets the type of characters used for drawing popup borders.
When
.Fl B
is specified, the
@@ -6233,12 +6284,8 @@ for possible values for
.Fl s
sets the style for the popup and
.Fl S
-sets the style for the popup border.
-For how to specify
-.Ar style ,
-see the
-.Sx STYLES
-section.
+sets the style for the popup border (see
+.Sx STYLES ) .
.Pp
.Fl e
takes the form