aboutsummaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/config.def.h b/config.def.h
index e3f8e92..9ba2e5b 100644
--- a/config.def.h
+++ b/config.def.h
@@ -57,15 +57,6 @@ static Command cmds[] = {
{ /* array terminator */ },
};
-/* called before any other keybindings are checked, if the function returns false
- * the key is completely ignored. */
-static bool vis_keypress(const char *key) {
- editor_info_hide(vis);
- if (vis->recording && key)
- macro_append(vis->recording, key);
- return true;
-}
-
#define ALIAS(name) .alias = name,
#define ACTION(id) .action = &vis_action[VIS_ACTION_##id],
@@ -1528,7 +1519,6 @@ static Config editors[] = {
{
.name = "vis",
.mode = &vis_modes[VIS_MODE_NORMAL],
- .keypress = vis_keypress,
},
};