If you modify your .inputrc with the following this should propagate to all of readline as well (e.g. python):
set editing-mode vi set editing-mode viYou may try `rlwrap` which wraps programs without readline support.