2023-03-16 16:54:36 +01:00
|
|
|
static char modetext[16] = "Insert"; // default mode text
|
2023-02-26 05:13:40 +01:00
|
|
|
|
2023-03-16 16:54:36 +01:00
|
|
|
// mode settings
|
|
|
|
static int curMode = 1; // 0 is command mode
|
|
|
|
static int allowkeys = 1; // whether or not to interpret a keypress as an insertion
|
2023-02-26 05:13:40 +01:00
|
|
|
|
2023-03-16 16:54:36 +01:00
|
|
|
// mode functions
|
2023-04-25 09:56:11 +02:00
|
|
|
static void switchmode(Arg *arg);
|