Merge branch 'obsd-master'

This commit is contained in:
Thomas Adam 2023-07-11 10:01:10 +01:00
commit 0e281530cb

363
tmux.1
View File

@ -1745,93 +1745,282 @@ Key tables may be viewed with the
command. command.
.Pp .Pp
The following commands are supported in copy mode: The following commands are supported in copy mode:
.Bl -column "CommandXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" "viXXXXXXXXXX" "emacs" -offset indent .Bl -tag -width Ds
.It Sy "Command" Ta Sy "vi" Ta Sy "emacs" .It Xo
.It Li "append-selection" Ta "" Ta "" .Nm append-selection
.It Li "append-selection-and-cancel" Ta "A" Ta "" .Ns
.It Li "back-to-indentation" Ta "^" Ta "M-m" .Xc
.It Li "begin-selection" Ta "Space" Ta "C-Space" Append the selection to the top paste buffer.
.It Li "bottom-line" Ta "L" Ta "" .It Xo
.It Li "cancel" Ta "q" Ta "Escape" .Nm append-selection-and-cancel
.It Li "clear-selection" Ta "Escape" Ta "C-g" .Ns
.It Li "copy-end-of-line [<prefix>]" Ta "" Ta "" .Li (vi: A)
.It Li "copy-end-of-line-and-cancel [<prefix>]" Ta "" Ta "" .Xc
.It Li "copy-pipe-end-of-line [<command>] [<prefix>]" Ta "" Ta "" Append the selection to the top paste buffer and exit copy mode.
.It Li "copy-pipe-end-of-line-and-cancel [<command>] [<prefix>]" Ta "D" Ta "C-k" .It Xo
.It Li "copy-line [<prefix>]" Ta "" Ta "" .Nm back-to-indentation
.It Li "copy-line-and-cancel [<prefix>]" Ta "" Ta "" .Ns
.It Li "copy-pipe-line [<command>] [<prefix>]" Ta "" Ta "" .Li (vi: ^) (emacs: M-m)
.It Li "copy-pipe-line-and-cancel [<command>] [<prefix>]" Ta "" Ta "" .Xc
.It Li "copy-pipe [<command>] [<prefix>]" Ta "" Ta "" Move the cursor back to the indentation.
.It Li "copy-pipe-no-clear [<command>] [<prefix>]" Ta "" Ta "" .It Xo
.It Li "copy-pipe-and-cancel [<command>] [<prefix>]" Ta "" Ta "" .Nm begin-selection
.It Li "copy-selection [<prefix>]" Ta "" Ta "" .Ns
.It Li "copy-selection-no-clear [<prefix>]" Ta "" Ta "" .Li (vi: Space) (emacs: C-Space)
.It Li "copy-selection-and-cancel [<prefix>]" Ta "Enter" Ta "M-w" .Xc
.It Li "cursor-down" Ta "j" Ta "Down" Begin selection.
.It Li "cursor-down-and-cancel" Ta "" Ta "" .It Xo
.It Li "cursor-left" Ta "h" Ta "Left" .Nm bottom-line
.It Li "cursor-right" Ta "l" Ta "Right" .Ns
.It Li "cursor-up" Ta "k" Ta "Up" .Li (vi: L)
.It Li "end-of-line" Ta "$" Ta "C-e" .Xc
.It Li "goto-line <line>" Ta ":" Ta "g" Move to the bottom line.
.It Li "halfpage-down" Ta "C-d" Ta "M-Down" .It Xo
.It Li "halfpage-down-and-cancel" Ta "" Ta "" .Nm cancel
.It Li "halfpage-up" Ta "C-u" Ta "M-Up" .Ns
.It Li "history-bottom" Ta "G" Ta "M->" .Li (vi: q) (emacs: Escape)
.It Li "history-top" Ta "g" Ta "M-<" .Xc
.It Li "jump-again" Ta ";" Ta ";" Exit copy mode.
.It Li "jump-backward <to>" Ta "F" Ta "F" .It Xo
.It Li "jump-forward <to>" Ta "f" Ta "f" .Nm clear-selection
.It Li "jump-reverse" Ta "," Ta "," .Ns
.It Li "jump-to-backward <to>" Ta "T" Ta "" .Li (vi: Escape) (emacs: C-g)
.It Li "jump-to-forward <to>" Ta "t" Ta "" .Xc
.It Li "jump-to-mark" Ta "M-x" Ta "M-x" Clear the current selection.
.It Li "middle-line" Ta "M" Ta "M-r" .It Xo
.It Li "next-matching-bracket" Ta "%" Ta "M-C-f" .Nm copy-end-of-line [<prefix>]
.It Li "next-paragraph" Ta "}" Ta "M-}" .Ns
.It Li "next-prompt" Ta "" Ta "" .Xc
.It Li "next-space" Ta "W" Ta "" Copy from the cursor position to the end of the line.
.It Li "next-space-end" Ta "E" Ta "" .Ar prefix
.It Li "next-word" Ta "w" Ta "" is used to name the new paste buffer.
.It Li "next-word-end" Ta "e" Ta "M-f" .It Xo
.It Li "other-end" Ta "o" Ta "" .Nm copy-end-of-line-and-cancel [<prefix>]
.It Li "page-down" Ta "C-f" Ta "PageDown" .Ns
.It Li "page-down-and-cancel" Ta "" Ta "" .Xc
.It Li "page-up" Ta "C-b" Ta "PageUp" Copy from the cursor position and exit copy mode.
.It Li "pipe [<command>] [<prefix>]" Ta "" Ta "" .It Xo
.It Li "pipe-no-clear [<command>] [<prefix>]" Ta "" Ta "" .Nm copy-line [<prefix>]
.It Li "pipe-and-cancel [<command>] [<prefix>]" Ta "" Ta "" .Ns
.It Li "previous-matching-bracket" Ta "" Ta "M-C-b" .Xc
.It Li "previous-paragraph" Ta "{" Ta "M-{" Copy the entire line.
.It Li "previous-prompt" Ta "" Ta "" .It Xo
.It Li "previous-space" Ta "B" Ta "" .Nm copy-line-and-cancel [<prefix>]
.It Li "previous-word" Ta "b" Ta "M-b" .Ns
.It Li "rectangle-on" Ta "" Ta "" .Xc
.It Li "rectangle-off" Ta "" Ta "" Copy the entire line and exit copy mode.
.It Li "rectangle-toggle" Ta "v" Ta "R" .It Xo
.It Li "refresh-from-pane" Ta "r" Ta "r" .Nm copy-selection [<prefix>]
.It Li "scroll-down" Ta "C-e" Ta "C-Down" .Ns
.It Li "scroll-down-and-cancel" Ta "" Ta "" .Xc
.It Li "scroll-up" Ta "C-y" Ta "C-Up" Copies the current selection.
.It Li "search-again" Ta "n" Ta "n" .It Xo
.It Li "search-backward <for>" Ta "?" Ta "" .Nm copy-selection-and-cancel [<prefix>]
.It Li "search-backward-incremental <for>" Ta "" Ta "C-r" .Ns
.It Li "search-backward-text <for>" Ta "" Ta "" .Li (vi: Enter) (emacs: M-w)
.It Li "search-forward <for>" Ta "/" Ta "" .Xc
.It Li "search-forward-incremental <for>" Ta "" Ta "C-s" Copy the current selection and exit copy mode.
.It Li "search-forward-text <for>" Ta "" Ta "" .It Xo
.It Li "scroll-bottom" Ta "" Ta "" .Nm cursor-down
.It Li "scroll-middle" Ta "z" Ta "" .Ns
.It Li "scroll-top" Ta "" Ta "" .Li (vi: j) (emacs: Down)
.It Li "search-reverse" Ta "N" Ta "N" .Xc
.It Li "select-line" Ta "V" Ta "" Move the cursor down.
.It Li "select-word" Ta "" Ta "" .It Xo
.It Li "set-mark" Ta "X" Ta "X" .Nm cursor-left
.It Li "start-of-line" Ta "0" Ta "C-a" .Ns
.It Li "stop-selection" Ta "" Ta "" .Li (vi: h) (emacs: Left)
.It Li "toggle-position" Ta "P" Ta "P" .Xc
.It Li "top-line" Ta "H" Ta "M-R" Move the cursor left.
.It Xo
.Nm cursor-right
.Ns
.Li (vi: l) (emacs: Right)
.Xc
Move the cursor right.
.It Xo
.Nm cursor-up
.Ns
.Li (vi: k) (emacs: Up)
.Xc
Move the cursor up.
.It Xo
.Nm end-of-line
.Ns
.Li (vi: $) (emacs: C-e)
.Xc
Move the cursor to the end of the line.
.It Xo
.Nm goto-line <line>
.Ns
.Li (vi: :) (emacs: g)
.Xc
Move the cursor to a specific line.
.It Xo
.Nm history-bottom
.Ns
.Li (vi: G) (emacs: M->)
.Xc
Scroll to the bottom of the history.
.It Xo
.Nm history-top
.Ns
.Li (vi: g) (emacs: M-<)
.Xc
Scroll to the top of the history.
.It Xo
.Nm jump-again
.Ns
.Li (vi: ;) (emacs: ;)
.Xc
Repeat the last jump.
.It Xo
.Nm jump-backward <to>
.Ns
.Li (vi: F) (emacs: F)
.Xc
Jump backwards to the specified text.
.It Xo
.Nm jump-forward <to>
.Ns
.Li (vi: f) (emacs: f)
.Xc
Jump forward to the specified text.
.It Xo
.Nm jump-to-mark
.Ns
.Li (vi: M-x) (emacs: M-x)
.Xc
Jump to the last mark.
.It Xo
.Nm middle-line
.Ns
.Li (vi: M) (emacs: M-r)
.Xc
Move to the middle line.
.It Xo
.Nm next-matching-bracket
.Ns
.Li (vi: %) (emacs: M-C-f)
.Xc
Move to the next matching bracket.
.It Xo
.Nm next-paragraph
.Ns
.Li (vi: }) (emacs: M-})
.Xc
Move to the next paragraph.
.It Xo
.Nm next-prompt
.Ns
.Xc
Move to the next prompt.
.It Xo
.Nm next-word
.Ns
.Li (vi: w)
.Xc
Move to the next word.
.It Xo
.Nm page-down
.Ns
.Li (vi: C-f) (emacs: PageDown)
.Xc
Scroll down by one page.
.It Xo
.Nm page-up
.Ns
.Li (vi: C-b) (emacs: PageUp)
.Xc
Scroll up by one page.
.It Xo
.Nm previous-matching-bracket
.Ns
.Li (emacs: M-C-b)
.Xc
Move to the previous matching bracket.
.It Xo
.Nm previous-paragraph
.Ns
.Li (vi: {) (emacs: M-{)
.Xc
Move to the previous paragraph.
.It Xo
.Nm previous-prompt
.Ns
.Xc
Move to the previous prompt.
.It Xo
.Nm previous-word
.Ns
.Li (vi: b) (emacs: M-b)
.Xc
Move to the previous word.
.It Xo
.Nm rectangle-toggle
.Ns
.Li (vi: v) (emacs: R)
.Xc
Toggle rectangle selection mode.
.It Xo
.Nm refresh-from-pane
.Ns
.Li (vi: r) (emacs: r)
.Xc
Refresh the content from the pane.
.It Xo
.Nm search-again
.Ns
.Li (vi: n) (emacs: n)
.Xc
Repeat the last search.
.It Xo
.Nm search-backward <for>
.Ns
.Li (vi: ?)
.Xc
Search backwards for the specified text.
.It Xo
.Nm search-forward <for>
.Ns
.Li (vi: /)
.Xc
Search forward for the specified text.
.It Xo
.Nm select-line
.Ns
.Li (vi: V)
.Xc
Select the current line.
.It Xo
.Nm select-word
.Ns
.Xc
Select the current word.
.It Xo
.Nm start-of-line
.Ns
.Li (vi: 0) (emacs: C-a)
.Xc
Move the cursor to the start of the line.
.It Xo
.Nm top-line
.Ns
.Li (vi: H) (emacs: M-R)
.Xc
Move to the top line.
.It Xo
.Nm next-prompt
.Ns
.Li (vi: C-n) (emacs: C-n)
.Xc
Move to the next prompt.
.It Xo
.Nm previous-prompt
.Ns
.Li (vi: C-p) (emacs: C-p)
.Xc
Move to the previous prompt.
.El .El
.Pp .Pp
The search commands come in several varieties: The search commands come in several varieties: