summaryrefslogtreecommitdiffstats
path: root/tmux.1
diff options
context:
space:
mode:
authornicm <nicm>2020-02-05 13:06:49 +0000
committernicm <nicm>2020-02-05 13:06:49 +0000
commitfb29242168c8d45923267237395cec97cdb86254 (patch)
treea4670e221e7664f10f5c6fed73ac401aaf004881 /tmux.1
parent265164d251f427bf9275c355a4f205c781d70b20 (diff)
Make list-keys description clearer in tmux.1 and remove an unused variable.
Diffstat (limited to 'tmux.1')
-rw-r--r--tmux.138
1 files changed, 20 insertions, 18 deletions
diff --git a/tmux.1 b/tmux.1
index 21510722..f3abcb88 100644
--- a/tmux.1
+++ b/tmux.1
@@ -2691,32 +2691,34 @@ command.
.Op key
.Xc
.D1 (alias: Ic lsk )
-List all key bindings.
-By default this shows all keys or any bindings for
-.Ar key
-in the syntax of the
+List key bindings.
+There are two forms: the default lists keys as
.Ic bind-key
-command.
+commands;
.Fl N
-instead show keys and attached notes, i
-.Ar key-table
-if given or in the
+lists only keys with attached notes and shows only the key and note for each
+key.
+.Pp
+With the default form, all key tables are listed by default.
+.Fl T
+lists only keys in
+.Ar key-table .
+.Pp
+With the
+.Fl N
+form, only keys in the
.Em root
and
.Em prefix
-key tables by default.
+key tables are listed by default;
+.Fl T
+also lists only keys in
+.Ar key-table .
.Fl P
-specifies a prefix to print before each key.
-With
+specifies a prefix to print before each key and
.Fl 1
-only the first matching key and note is shown.
+lists only the first matching key.
.Pp
-Without
-.Fl N ,
-.Fl T
-prints only keys in
-.Ar key-table ,
-otherwise all key tables are printed.
.It Xo Ic send-keys
.Op Fl FHlMRX
.Op Fl N Ar repeat-count