Readline Module (STDLIB): Add support for ^O emacs keybinding?
The pry gem features a REPL that uses the Readline stdlib module. With the help of this module, pry's REPL supports most emacs-style readline key bindings:
- P / N for navigating up/down the command line history,
- K for killing text to the end of the line,
- Y for yanking last-killed text,
- XU for undoing,
However, it does NOT support O (run command and load next line in history), and I found no reference to the binding in the docs.
I can't speak for anyone else, but I'd very much like to see this functionality implemented in the Readline module.
Updated by shevegen (Robert A. Heiler) almost 3 years ago
Is the functionality you referred to in the C readline available already?
Sometimes it may take a little while to have all C-related code from bindings
available e. g. in the ruby Readline module. I know way too little about
Readline, except that I use it a lot in ruby, so any change that makes
Readline even more awesome than it already is, must be a good change.