aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config.def.h1
-rw-r--r--editor.h1
2 files changed, 0 insertions, 2 deletions
diff --git a/config.def.h b/config.def.h
index fd6ce07..2211d32 100644
--- a/config.def.h
+++ b/config.def.h
@@ -513,7 +513,6 @@ static Mode vis_modes[] = {
},
[VIS_MODE_TEXTOBJ] = {
.name = "TEXTOBJ",
- .common_prefix = true,
.parent = &vis_modes[VIS_MODE_MOVE],
.default_bindings = vis_textobjs,
},
diff --git a/editor.h b/editor.h
index 7719f3d..598cf0c 100644
--- a/editor.h
+++ b/editor.h
@@ -43,7 +43,6 @@ struct Mode {
KeyBinding *default_bindings;
const char *name; /* descriptive, user facing name of the mode */
bool isuser; /* whether this is a user or internal mode */
- bool common_prefix; /* whether the first key in this mode is always the same */
void (*enter)(Mode *old); /* called right before the mode becomes active */
void (*leave)(Mode *new); /* called right before the mode becomes inactive */
void (*input)(const char*, size_t); /* called whenever a key is not found in this mode and all its parent modes */