Let me preface this with the following: I _know_ this is a grotesque
hack. It is the result of 8 hours on a plane a zaurus and two horrible
Still, the result is much better than the status quo, and the
alternative of rewriting the minibuffer to be an ACTUAL buffer is an
exercise left for the reader.
So, here it is, in all it's unpretty glory:
This diff makes some of the more common editing keybindings work
in the minibuffer.
left, right, ^B, ^F, ^Y, ^K, ^A, ^E
It also makes completions work as you would expect them to
i.e. a *Completions* buffer pops up with your choices in it
when you hit a second TAB or SP.
If you have any other editing favorite keys, let me know.
If you want to clean any of this up, feel free.
If I've done anything stupid, yell at me.
Otherwise, please give it a spin and see if it does what you think it
- /* The results are put into a help buffer. */
- bp = bfind("*help*", TRUE);
+ /* The results are put into a completion buffer. */
+ bp = bfind("*Completions*", TRUE);
if (bclear(bp) == FALSE)