Final pieces of mode key rebinding: bind-key and unbind-key now accept a -t

argument to modify a table.
This commit is contained in:
Nicholas Marriott
2009-07-28 17:05:10 +00:00
parent 9e5d585ba4
commit f596be9950
6 changed files with 179 additions and 17 deletions

2
tmux.h
View File

@@ -1098,6 +1098,8 @@ extern struct mode_key_tree mode_key_tree_emacs_copy;
int mode_key_cmp(struct mode_key_binding *, struct mode_key_binding *);
SPLAY_PROTOTYPE(mode_key_tree, mode_key_binding, entry, mode_key_cmp);
const char *mode_key_tostring(struct mode_key_cmdstr *r, enum mode_key_cmd);
enum mode_key_cmd mode_key_fromstring(struct mode_key_cmdstr *, const char *);
const struct mode_key_table *mode_key_findtable(const char *);
void mode_key_init_trees(void);
void mode_key_free_trees(void);
void mode_key_init(struct mode_key_data *, struct mode_key_tree *);