From d638b9a1c3dc68accdc1f660851f0289b870c74d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Sat, 19 Sep 2015 16:39:24 +0200 Subject: vis: remove now unused common_prefix mode attribute --- config.def.h | 1 - editor.h | 1 - 2 files changed, 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 */ -- cgit v1.2.3