summaryrefslogtreecommitdiff
path: root/usr.bin/tmux
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2010-05-30 19:09:51 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2010-05-30 19:09:51 +0000
commita4b1d6738c54c2796043d89c8b186c1e10594ecd (patch)
tree6eabd62e6cbcf0e965424aa3baf8e9eb8dac3abd /usr.bin/tmux
parent7918ddfcddda5a3bdbd87d085b6f84fb5967a746 (diff)
There is no real reason not to list all the key bindings here rather
than just a selection.
Diffstat (limited to 'usr.bin/tmux')
-rw-r--r--usr.bin/tmux/tmux.1106
1 files changed, 91 insertions, 15 deletions
diff --git a/usr.bin/tmux/tmux.1 b/usr.bin/tmux/tmux.1
index 30221de4711..3a0f9cafba8 100644
--- a/usr.bin/tmux/tmux.1
+++ b/usr.bin/tmux/tmux.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: tmux.1,v 1.170 2010/05/19 22:28:14 nicm Exp $
+.\" $OpenBSD: tmux.1,v 1.171 2010/05/30 19:09:50 nicm Exp $
.\"
.\" Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
.\"
@@ -14,7 +14,7 @@
.\" IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
.\" OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: May 19 2010 $
+.Dd $Mdocdate: May 30 2010 $
.Dt TMUX 1
.Os
.Sh NAME
@@ -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:
+The default key bindings are:
.Pp
-.Bl -tag -width Ds -offset indent -compact
+.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