From b2e2b449d26a794f10929a2861df4c1b33af7966 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Sat, 13 Feb 2016 11:18:33 +0100 Subject: vis: add insfrastructure to support global key mappings Except for insert/replace mode keys get translated before any key bindings are evaluated. This is useful for non-english/latin keyboard layouts. --- config.def.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'config.def.h') diff --git a/config.def.h b/config.def.h index b7a797e..4902415 100644 --- a/config.def.h +++ b/config.def.h @@ -3,6 +3,10 @@ #define ALIAS(name) .alias = name, #define ACTION(id) .action = &vis_action[VIS_ACTION_##id], +static const char *keymaps[] = { + NULL +}; + static const KeyBinding bindings_basic[] = { { "", ACTION(EDITOR_SUSPEND) }, { "", ACTION(CURSOR_CHAR_PREV) }, -- cgit v1.2.3