@@ -31,8 +31,14 @@ struct const_t {
|
||||
int QUIT_TIMES;
|
||||
};
|
||||
|
||||
struct prefix_t {
|
||||
char prefix_name[64];
|
||||
int prefix_id;
|
||||
};
|
||||
|
||||
struct keyBind_t {
|
||||
char *key_sequence;
|
||||
int prefix_id;
|
||||
Lisp command;
|
||||
|
||||
};
|
||||
@@ -53,6 +59,7 @@ struct editorConfig {
|
||||
int dirty;
|
||||
char *filename;
|
||||
enum editorStatus_e state;
|
||||
int prefix_state;
|
||||
char status_msg[80];
|
||||
time_t status_msg_time;
|
||||
struct termios orig_termios; /**< Terminal communication interface */
|
||||
@@ -68,6 +75,9 @@ struct editorConfig {
|
||||
|
||||
struct keyBind_t* key_binds;
|
||||
int number_of_keybinds;
|
||||
|
||||
struct prefix_t* prefix;
|
||||
int number_of_prefix;
|
||||
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user