Trying to beef up my regular python console, I wanted to add vi-style editing.
1st thing: python
is not reading ~/.inputrc
if I understand well.
Then, I tried to do (through ~/.pythonrc.py
):
import readline
readline.parse_and_bind('set editing-mode vi')
Nothing's happening. Did I miss something? Or is it a problem with my terminal?
I'm on OS X using Terminal.app
(tried rlwrap with no success)