It would be nice if maple (as run from a terminal) would add a couple
of the Emacs keybindings. Support for Ctrl-[whatever] keys seems pretty
good but there is no support for Meta keybindings. I tend to use these
pretty regularly (quoted from bash man page):
Move forward to the end of the next word. Words are composed of
alphanumeric characters (letters and digits).
Move back to the start of the current or previous word. Words
are composed of alphanumeric characters (letters and digits).
Clear the screen leaving the current line at the top of the
screen. With an argument, refresh the current line without
clearing the screen.
insert-last-argument (M-., M-_)
A synonym for yank-last-arg.
Kill from point to the end of the current word, or if between
words, to the end of the next word. Word boundaries are the
same as those used by forward-word.
Kill the word behind point. Word boundaries are the same as
those used by backward-word.
List the possible completions of the text before point.
Some of these might be useful as well (couldn't find bash docs):
[TAB][TAB] -> list completions
Ctrl-Left Arrow -> move back one word
Ctrl-Right Arrow -> move forward one word
Meta-Left Arrow -> move back one word
Meta-Right Arrow -> move forward one word
It seems like most of this functionality exists, it's just tied to unexpected
keys that I can never remember. I know that Meta keybinding are slightly more
difficult to code than the Ctrl ones because you have to add timeouts through
termios, and I don't know if this played into the decision to omit them. But
I think that the difficulty is slight and they are actually quite useful.