From 45a08afbbd4e3bc6b8ab3dfa4735a182f559624f Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sat, 15 Jun 2019 14:13:35 -0700 Subject: Added `+bind` command to allow for stuff like `bb +"b:\r:echo \$BBCURSOR && bb +q"` --- config.def.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'config.def.h') diff --git a/config.def.h b/config.def.h index 1468eec..a388410 100644 --- a/config.def.h +++ b/config.def.h @@ -250,7 +250,11 @@ binding_t bindings[] = { {{KEY_CTRL_U}, "+scroll:-50%", B("Half page up")}, {{KEY_MOUSE_WHEEL_DOWN}, "+scroll:+3", B("Scroll down")}, {{KEY_MOUSE_WHEEL_UP}, "+scroll:-3", B("Scroll up")}, - {{0}}, // Array must be 0-terminated + // Leave some space for a few (16) runtime-defined key bindings: + {{0}}, {{0}}, {{0}}, {{0}}, {{0}}, {{0}}, {{0}}, {{0}}, + {{0}}, {{0}}, {{0}}, {{0}}, {{0}}, {{0}}, {{0}}, {{0}}, + {{-1}} + // Array must be -1-terminated }; // vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1 -- cgit v1.2.3