diff options
Diffstat (limited to 'cmd/menu/bindings.c')
-rw-r--r-- | cmd/menu/bindings.c | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/cmd/menu/bindings.c b/cmd/menu/bindings.c new file mode 100644 index 0000000..28aad75 --- /dev/null +++ b/cmd/menu/bindings.c @@ -0,0 +1,51 @@ +char binding_spec[] = + "Control-j Accept\n" + "Control-m Accept\n" + "Return Accept\n" + "Control-Shift-j Accept literal\n" + "Control-Shift-m Accept literal\n" + "Shift-Return Accept literal\n" + "\n" + "Escape Reject\n" + "Control-Bracketleft Reject\n" + "\n" + "Left Backward char\n" + "Control-b Backward char\n" + "Right Forward char\n" + "Control-f Forward char\n" + "\n" + "Mod1-b Backward word\n" + "Mod1-f Forward word\n" + "\n" + "Control-a Backward line\n" + "Control-e Forward line\n" + "\n" + "Control-p History backward\n" + "Up History backward\n" + "Control-n History forward\n" + "Down History forward\n" + "\n" + "Backspace Kill char\n" + "Control-h Kill char\n" + "Control-Backspace Kill word\n" + "Control-w Kill word\n" + "Control-u Kill line\n" + "\n" + "Tab Complete next\n" + "Control-i Complete next\n" + "Mod1-l Complete next\n" + "\n" + "Shift-Tab Complete prev\n" + "Control-Shift-i Complete prev\n" + "Mod1-h Complete prev\n" + "\n" + "Prior Complete prevpage\n" + "Mod1-k Complete prevpage\n" + "Next Complete nextpage\n" + "Mod1-j Complete nextpage\n" + "Home Complete first\n" + "Mod1-g Complete first\n" + "End Complete last\n" + "Mod1-Shift-g Complete last\n" + "\n" + ; |