aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/tmux.h b/tmux.h
index e2c1514c..b5fd8714 100644
--- a/tmux.h
+++ b/tmux.h
@@ -42,6 +42,7 @@ struct args;
struct client;
struct environ;
struct input_ctx;
+struct mode_key_cmdstr;
struct mouse_event;
struct options;
struct session;
@@ -542,12 +543,6 @@ struct mode_key_binding {
};
RB_HEAD(mode_key_tree, mode_key_binding);
-/* Command to string mapping. */
-struct mode_key_cmdstr {
- enum mode_key_cmd cmd;
- const char *name;
-};
-
/* Named mode key table description. */
struct mode_key_entry;
struct mode_key_table {
@@ -1598,13 +1593,10 @@ int printflike(4, 5) hooks_wait(struct hooks *, struct cmd_q *,
struct cmd_find_state *, const char *, ...);
/* mode-key.c */
-extern const struct mode_key_table mode_key_tables[];
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_vi_copy;
extern struct mode_key_tree mode_key_tree_emacs_edit;
extern struct mode_key_tree mode_key_tree_emacs_choice;
-extern struct mode_key_tree mode_key_tree_emacs_copy;
int mode_key_cmp(struct mode_key_binding *, struct mode_key_binding *);
RB_PROTOTYPE(mode_key_tree, mode_key_binding, entry, mode_key_cmp);
const char *mode_key_tostring(const struct mode_key_cmdstr *,