readline-binding module provides readline-like key bindings, such as
binding Ctrl-A to move the cursor to the start of the line. To use,
put the following in your
Note that this will override some of the standard bindings. For example, Ctrl-L will be bound to a function that clears the terminal screen rather than start location mode.
See the source code for details.