summaryrefslogtreecommitdiffstats
path: root/tmux.1
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2010-05-30 19:09:50 +0000
committerNicholas Marriott <nicm@openbsd.org>2010-05-30 19:09:50 +0000
commit7b7397241f5c093611a925ffc062d944df3a3c82 (patch)
treedbc931448837e0b6e0f8f43a1e7f0377e225b3ce /tmux.1
parent1618f3eae65743850e8b81df041e7372b8843dc6 (diff)
There is no real reason not to list all the key bindings here rather
than just a selection.
Diffstat (limited to 'tmux.1')
-rw-r--r--tmux.1104
1 files changed, 90 insertions, 14 deletions
diff --git a/tmux.1 b/tmux.1
index 8d123b25..49de2029 100644
--- a/tmux.1
+++ b/tmux.1
@@ -213,32 +213,108 @@ prefix key,
.Ql C-b
(Ctrl-b) by default, followed by a command key.
.Pp
-Some of the default key bindings are:
-.Pp
-.Bl -tag -width Ds -offset indent -compact
+The default key bindings are:
+.Pp
+.Bl -tag -width "XXXXXXXXXX" -offset indent -compact
+.It C-b
+Send the prefix key (C-b) through to the application.
+.It C-o
+Rotate the panes in the current window forwards.
+.It C-z
+Suspend the
+.Nm
+client.
+.It !
+Break the current pane out of the window.
+.It \&"
+Split the current pane into two, top and bottom.
+.It #
+List all paste buffers.
+.It %
+Split the current pane into two, left and right.
+.It &
+Kill the current window.
+.It '
+Prompt for a window index to select.
+.It ,
+Rename the current window.
+.It -
+Delete the most recently copied buffer of text.
+.It .
+Prompt for an index to move the current window.
+.It 0 to 9
+Select windows 0 to 9.
+.It :
+Enter the
+.Nm
+command prompt.
+.It \&?
+List all key bindings.
+.It D
+Choose a client to detach.
+.It [
+Enter copy mode to copy text or view the history.
+.It ]
+Paste the most recently copied buffer of text.
.It c
Create a new window.
.It d
Detach the current client.
+.It f
+Prompt to search for text in open windows.
+.It i
+Display some information about the current window.
.It l
Move to the previously selected window.
.It n
Change to the next window.
+.It o
+Select the next pane in the current window.
.It p
Change to the previous window.
-.It &
-Kill the current window.
-.It ,
-Rename the current window.
-.It \&?
-List all key bindings.
+.It q
+Briefly display pane indexes.
+.It r
+Force redraw of the attached client.
+.It s
+Select a new session for the attached client interactively.
+.It t
+Show the time.
+.It w
+Choose the current window interactively.
+.It x
+Kill the current pane.
+.It {
+Swap the current pane with the previous pane.
+.It }
+Swap the current pane with the next pane.
+.It ~
+Show previous messages from
+.Nm ,
+if any.
+.It Page Up
+Enter copy mode and scroll one page up.
+.It Up, Down
+.It Left, Right
+Change to the pane above, below, to the left, or to the right of the current
+pane.
+.It M-1 to M-5
+Arrange panes in one of the five preset layouts: even-horizontal,
+even-vertical, main-horizontal, main-vertical, or tiled.
+.It M-n
+Move to the next window with a bell or activity marker.
+.It M-o
+Rotate the panes in the current window backwards.
+.It M-p
+Move to the previous window with a bell or activity marker.
+.It C-Up, C-Down
+.It C-Left, C-Right
+Resize the current pane in steps of one cell.
+.It M-Up, M-Down
+.It M-Left, M-Right
+Resize the current pane in steps of five cells.
.El
.Pp
-A complete list may be obtained with the
-.Ic list-keys
-command (bound to
-.Ql \&?
-by default).
Key bindings may be changed with the
.Ic bind-key
and