diff options
Diffstat (limited to 'config.def.h')
| -rw-r--r-- | config.def.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/config.def.h b/config.def.h index 370fb1b..54d6d7c 100644 --- a/config.def.h +++ b/config.def.h @@ -22,8 +22,6 @@ * if no binding is found, mode->input(...) is called and the user entered * keys are passed as argument. this is used to change the document content. */ -static Mode vis_modes[]; - enum { VIS_MODE_BASIC, VIS_MODE_MARK, @@ -43,8 +41,11 @@ enum { VIS_MODE_INSERT_REGISTER, VIS_MODE_INSERT, VIS_MODE_REPLACE, + VIS_MODE_LAST, }; +static Mode vis_modes[VIS_MODE_LAST]; + /* command recognized at the ':'-prompt. tested top to bottom, first match wins. */ static Command cmds[] = { { "^bd(elete)?!?$", cmd_bdelete, false }, |
