|
|
|
|
|
by kragen
720 days ago
|
|
that's pretty nice! you might want to switch to the standard gnu readline keybinding for 'submit the current input line for execution and recall the next line in history', which is control-o. aside from the synergistic effect of being able to use the same keybinding in txr, bash, python, etc., it's a command which you frequently want to use several times in a row, and binding such a command to a sequence of two keystrokes makes it disproportionately more clumsy. you may have noticed recent versions of emacs permit you to run a keyboard macro repeatedly with c-x e e e, and it's a huge usability improvement |
|
I independently conceived the feature in 2015. I had not seen it anywhere before that, nor have I seen it since!
I see the readline source code gives credit to copying this feature from the Korn shell. In misc.c there is a comment: (Where would Bash imagination be without Korn.)I see in the ksh93 sources that this appeared in or before 2012. (Again, patch bomb wall.)