@b0rk
Thanks for the article. I didn't know about rlwrap. Should be super handy tool.
Btw, most of the readline keybindings are similar in Emacs, but as a tip, if you want to know what a keybinding does in Emacs, open Emacs vanilla (`emacs -Q`) then press Ctrl-h and then k. This will ask you to press a keybinding and it will give you its definition.