Remove Ns and Li and change Nm to Ic, suggested by jmc.

This commit is contained in:
nicm 2023-07-11 16:09:09 +00:00
parent efded95ed7
commit 8fcc212e7a

248
tmux.1
View File

@ -1744,278 +1744,262 @@ command.
The following commands are supported in copy mode: The following commands are supported in copy mode:
.Bl -tag -width Ds .Bl -tag -width Ds
.It Xo .It Xo
.Nm append-selection .Ic append-selection
.Ns
.Xc .Xc
Append the selection to the top paste buffer. Append the selection to the top paste buffer.
.It Xo .It Xo
.Nm append-selection-and-cancel .Ic append-selection-and-cancel
.Ns (vi: A)
.Li (vi: A)
.Xc .Xc
Append the selection to the top paste buffer and exit copy mode. Append the selection to the top paste buffer and exit copy mode.
.It Xo .It Xo
.Nm back-to-indentation .Ic back-to-indentation
.Ns (vi: ^)
.Li (vi: ^) (emacs: M-m) (emacs: M-m)
.Xc .Xc
Move the cursor back to the indentation. Move the cursor back to the indentation.
.It Xo .It Xo
.Nm begin-selection .Ic begin-selection
.Ns (vi: Space)
.Li (vi: Space) (emacs: C-Space) (emacs: C-Space)
.Xc .Xc
Begin selection. Begin selection.
.It Xo .It Xo
.Nm bottom-line .Ic bottom-line
.Ns (vi: L)
.Li (vi: L)
.Xc .Xc
Move to the bottom line. Move to the bottom line.
.It Xo .It Xo
.Nm cancel .Ic cancel
.Ns (vi: q)
.Li (vi: q) (emacs: Escape) (emacs: Escape)
.Xc .Xc
Exit copy mode. Exit copy mode.
.It Xo .It Xo
.Nm clear-selection .Ic clear-selection
.Ns (vi: Escape)
.Li (vi: Escape) (emacs: C-g) (emacs: C-g)
.Xc .Xc
Clear the current selection. Clear the current selection.
.It Xo .It Xo
.Nm copy-end-of-line [<prefix>] .Ic copy-end-of-line [<prefix>]
.Ns
.Xc .Xc
Copy from the cursor position to the end of the line. Copy from the cursor position to the end of the line.
.Ar prefix .Ar prefix
is used to name the new paste buffer. is used to name the new paste buffer.
.It Xo .It Xo
.Nm copy-end-of-line-and-cancel [<prefix>] .Ic copy-end-of-line-and-cancel [<prefix>]
.Ns
.Xc .Xc
Copy from the cursor position and exit copy mode. Copy from the cursor position and exit copy mode.
.It Xo .It Xo
.Nm copy-line [<prefix>] .Ic copy-line [<prefix>]
.Ns
.Xc .Xc
Copy the entire line. Copy the entire line.
.It Xo .It Xo
.Nm copy-line-and-cancel [<prefix>] .Ic copy-line-and-cancel [<prefix>]
.Ns
.Xc .Xc
Copy the entire line and exit copy mode. Copy the entire line and exit copy mode.
.It Xo .It Xo
.Nm copy-selection [<prefix>] .Ic copy-selection [<prefix>]
.Ns
.Xc .Xc
Copies the current selection. Copies the current selection.
.It Xo .It Xo
.Nm copy-selection-and-cancel [<prefix>] .Ic copy-selection-and-cancel [<prefix>]
.Ns (vi: Enter)
.Li (vi: Enter) (emacs: M-w) (emacs: M-w)
.Xc .Xc
Copy the current selection and exit copy mode. Copy the current selection and exit copy mode.
.It Xo .It Xo
.Nm cursor-down .Ic cursor-down
.Ns (vi: j)
.Li (vi: j) (emacs: Down) (emacs: Down)
.Xc .Xc
Move the cursor down. Move the cursor down.
.It Xo .It Xo
.Nm cursor-left .Ic cursor-left
.Ns (vi: h)
.Li (vi: h) (emacs: Left) (emacs: Left)
.Xc .Xc
Move the cursor left. Move the cursor left.
.It Xo .It Xo
.Nm cursor-right .Ic cursor-right
.Ns (vi: l)
.Li (vi: l) (emacs: Right) (emacs: Right)
.Xc .Xc
Move the cursor right. Move the cursor right.
.It Xo .It Xo
.Nm cursor-up .Ic cursor-up
.Ns (vi: k)
.Li (vi: k) (emacs: Up) (emacs: Up)
.Xc .Xc
Move the cursor up. Move the cursor up.
.It Xo .It Xo
.Nm end-of-line .Ic end-of-line
.Ns (vi: $)
.Li (vi: $) (emacs: C-e) (emacs: C-e)
.Xc .Xc
Move the cursor to the end of the line. Move the cursor to the end of the line.
.It Xo .It Xo
.Nm goto-line <line> .Ic goto-line <line>
.Ns (vi: :)
.Li (vi: :) (emacs: g) (emacs: g)
.Xc .Xc
Move the cursor to a specific line. Move the cursor to a specific line.
.It Xo .It Xo
.Nm history-bottom .Ic history-bottom
.Ns (vi: G)
.Li (vi: G) (emacs: M->) (emacs: M->)
.Xc .Xc
Scroll to the bottom of the history. Scroll to the bottom of the history.
.It Xo .It Xo
.Nm history-top .Ic history-top
.Ns (vi: g)
.Li (vi: g) (emacs: M-<) (emacs: M-<)
.Xc .Xc
Scroll to the top of the history. Scroll to the top of the history.
.It Xo .It Xo
.Nm jump-again .Ic jump-again
.Ns (vi: ;)
.Li (vi: ;) (emacs: ;) (emacs: ;)
.Xc .Xc
Repeat the last jump. Repeat the last jump.
.It Xo .It Xo
.Nm jump-backward <to> .Ic jump-backward <to>
.Ns (vi: F)
.Li (vi: F) (emacs: F) (emacs: F)
.Xc .Xc
Jump backwards to the specified text. Jump backwards to the specified text.
.It Xo .It Xo
.Nm jump-forward <to> .Ic jump-forward <to>
.Ns (vi: f)
.Li (vi: f) (emacs: f) (emacs: f)
.Xc .Xc
Jump forward to the specified text. Jump forward to the specified text.
.It Xo .It Xo
.Nm jump-to-mark .Ic jump-to-mark
.Ns (vi: M-x)
.Li (vi: M-x) (emacs: M-x) (emacs: M-x)
.Xc .Xc
Jump to the last mark. Jump to the last mark.
.It Xo .It Xo
.Nm middle-line .Ic middle-line
.Ns (vi: M)
.Li (vi: M) (emacs: M-r) (emacs: M-r)
.Xc .Xc
Move to the middle line. Move to the middle line.
.It Xo .It Xo
.Nm next-matching-bracket .Ic next-matching-bracket
.Ns (vi: %)
.Li (vi: %) (emacs: M-C-f) (emacs: M-C-f)
.Xc .Xc
Move to the next matching bracket. Move to the next matching bracket.
.It Xo .It Xo
.Nm next-paragraph .Ic next-paragraph
.Ns (vi: })
.Li (vi: }) (emacs: M-}) (emacs: M-})
.Xc .Xc
Move to the next paragraph. Move to the next paragraph.
.It Xo .It Xo
.Nm next-prompt .Ic next-prompt
.Ns
.Xc .Xc
Move to the next prompt. Move to the next prompt.
.It Xo .It Xo
.Nm next-word .Ic next-word
.Ns (vi: w)
.Li (vi: w)
.Xc .Xc
Move to the next word. Move to the next word.
.It Xo .It Xo
.Nm page-down .Ic page-down
.Ns (vi: C-f)
.Li (vi: C-f) (emacs: PageDown) (emacs: PageDown)
.Xc .Xc
Scroll down by one page. Scroll down by one page.
.It Xo .It Xo
.Nm page-up .Ic page-up
.Ns (vi: C-b)
.Li (vi: C-b) (emacs: PageUp) (emacs: PageUp)
.Xc .Xc
Scroll up by one page. Scroll up by one page.
.It Xo .It Xo
.Nm previous-matching-bracket .Ic previous-matching-bracket
.Ns (emacs: M-C-b)
.Li (emacs: M-C-b)
.Xc .Xc
Move to the previous matching bracket. Move to the previous matching bracket.
.It Xo .It Xo
.Nm previous-paragraph .Ic previous-paragraph
.Ns (vi: {)
.Li (vi: {) (emacs: M-{) (emacs: M-{)
.Xc .Xc
Move to the previous paragraph. Move to the previous paragraph.
.It Xo .It Xo
.Nm previous-prompt .Ic previous-prompt
.Ns
.Xc .Xc
Move to the previous prompt. Move to the previous prompt.
.It Xo .It Xo
.Nm previous-word .Ic previous-word
.Ns (vi: b)
.Li (vi: b) (emacs: M-b) (emacs: M-b)
.Xc .Xc
Move to the previous word. Move to the previous word.
.It Xo .It Xo
.Nm rectangle-toggle .Ic rectangle-toggle
.Ns (vi: v)
.Li (vi: v) (emacs: R) (emacs: R)
.Xc .Xc
Toggle rectangle selection mode. Toggle rectangle selection mode.
.It Xo .It Xo
.Nm refresh-from-pane .Ic refresh-from-pane
.Ns (vi: r)
.Li (vi: r) (emacs: r) (emacs: r)
.Xc .Xc
Refresh the content from the pane. Refresh the content from the pane.
.It Xo .It Xo
.Nm search-again .Ic search-again
.Ns (vi: n)
.Li (vi: n) (emacs: n) (emacs: n)
.Xc .Xc
Repeat the last search. Repeat the last search.
.It Xo .It Xo
.Nm search-backward <for> .Ic search-backward <for>
.Ns (vi: ?)
.Li (vi: ?)
.Xc .Xc
Search backwards for the specified text. Search backwards for the specified text.
.It Xo .It Xo
.Nm search-forward <for> .Ic search-forward <for>
.Ns (vi: /)
.Li (vi: /)
.Xc .Xc
Search forward for the specified text. Search forward for the specified text.
.It Xo .It Xo
.Nm select-line .Ic select-line
.Ns (vi: V)
.Li (vi: V)
.Xc .Xc
Select the current line. Select the current line.
.It Xo .It Xo
.Nm select-word .Ic select-word
.Ns
.Xc .Xc
Select the current word. Select the current word.
.It Xo .It Xo
.Nm start-of-line .Ic start-of-line
.Ns (vi: 0)
.Li (vi: 0) (emacs: C-a) (emacs: C-a)
.Xc .Xc
Move the cursor to the start of the line. Move the cursor to the start of the line.
.It Xo .It Xo
.Nm top-line .Ic top-line
.Ns (vi: H)
.Li (vi: H) (emacs: M-R) (emacs: M-R)
.Xc .Xc
Move to the top line. Move to the top line.
.It Xo .It Xo
.Nm next-prompt .Ic next-prompt
.Ns (vi: C-n)
.Li (vi: C-n) (emacs: C-n) (emacs: C-n)
.Xc .Xc
Move to the next prompt. Move to the next prompt.
.It Xo .It Xo
.Nm previous-prompt .Ic previous-prompt
.Ns (vi: C-p)
.Li (vi: C-p) (emacs: C-p) (emacs: C-p)
.Xc .Xc
Move to the previous prompt. Move to the previous prompt.
.El .El