From 40253048ca6d6ecf45be24a76220d6012aca9818 Mon Sep 17 00:00:00 2001 From: nicm Date: Wed, 12 Oct 2016 15:26:37 +0000 Subject: [PATCH] bind-key -c has gone, remove from man page, and unused table declarations. --- tmux.1 | 10 +++------- tmux.h | 2 -- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/tmux.1 b/tmux.1 index 03a4ba2f..73daac3f 100644 --- a/tmux.1 +++ b/tmux.1 @@ -2100,7 +2100,7 @@ bind-key "'" new-window Commands related to key bindings are as follows: .Bl -tag -width Ds .It Xo Ic bind-key -.Op Fl cnr +.Op Fl nr .Op Fl t Ar mode-table .Op Fl T Ar key-table .Ar key Ar command Op Ar arguments @@ -2155,10 +2155,7 @@ If is present, .Ar key is bound in -.Ar mode-table : -the binding for command mode with -.Fl c -or for normal mode without. +.Ar mode-table . .Pp To view the default bindings and possible commands, see the .Ic list-keys @@ -2232,7 +2229,7 @@ Send the prefix key, or with .Fl 2 the secondary prefix key, to a window as if it was pressed. .It Xo Ic unbind-key -.Op Fl acn +.Op Fl an .Op Fl t Ar mode-table .Op Fl T Ar key-table .Ar key @@ -2240,7 +2237,6 @@ the secondary prefix key, to a window as if it was pressed. .D1 (alias: Ic unbind ) Unbind the command bound to .Ar key . -.Fl c , .Fl n , .Fl T and diff --git a/tmux.h b/tmux.h index c4c33622..4097052e 100644 --- a/tmux.h +++ b/tmux.h @@ -1559,9 +1559,7 @@ int printflike(4, 5) hooks_wait(struct hooks *, struct cmd_q *, struct cmd_find_state *, const char *, ...); /* mode-key.c */ -extern struct mode_key_tree mode_key_tree_vi_edit; extern struct mode_key_tree mode_key_tree_vi_choice; -extern struct mode_key_tree mode_key_tree_emacs_edit; extern struct mode_key_tree mode_key_tree_emacs_choice; int mode_key_cmp(struct mode_key_binding *, struct mode_key_binding *); RB_PROTOTYPE(mode_key_tree, mode_key_binding, entry, mode_key_cmp);