=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/tmux.1,v retrieving revision 1.44 retrieving revision 1.45 diff -u -r1.44 -r1.45 --- src/usr.bin/tmux/tmux.1 2009/07/24 14:50:24 1.44 +++ src/usr.bin/tmux/tmux.1 2009/07/24 14:52:47 1.45 @@ -1,4 +1,4 @@ -.\" $OpenBSD: tmux.1,v 1.44 2009/07/24 14:50:24 sthen Exp $ +.\" $OpenBSD: tmux.1,v 1.45 2009/07/24 14:52:47 nicm Exp $ .\" .\" Copyright (c) 2007 Nicholas Marriott .\" @@ -617,7 +617,7 @@ will attempt to start it; this will fail unless sessions are created in the configuration file. .It Xo Ic bind-key -.Op Fl r +.Op Fl nr .Ar key Ar command Op Ar arguments .Xc .D1 (alias: Ic bind ) @@ -632,6 +632,13 @@ for Ctrl keys, or .Ql M- for Alt (meta) keys. +If +.Fl n +is specified, it is not necessary to use the prefix key, +.Ar command +is bound to +.Ar key +alone. The .Fl r flag indicates this key may repeat, see the @@ -842,6 +849,10 @@ .Xc .D1 (alias: Ic lsk ) List all key bindings. +Keys bound without the prefix key (see +.Ic bind-key +.Fl n ) +are enclosed in square brackets. .It Xo Ic list-sessions .Xc .D1 (alias: Ic ls ) @@ -1613,11 +1624,17 @@ to .Ar target-session . .It Xo Ic unbind-key +.Op Fl n .Ar key .Xc .D1 (alias: Ic unbind ) Unbind the command bound to .Ar key . +If +.Fl n +is specified, the command bound to +.Ar key +without a prefix (if any) is removed. .It Xo Ic unlink-window .Op Fl k .Op Fl t Ar target-window