Y
Hacker News
new
|
ask
|
show
|
jobs
by
alan5
3072 days ago
If you modify your .inputrc with the following this should propagate to all of readline as well (e.g. python):
set editing-mode vi
1 comments
CDRdude
3072 days ago
What shell does that work in? On a mac, I have that set in my .inputrc and it does not propagate to python.
link
zeptomu
3072 days ago
Bash. Actually it depends if the program uses libreadline - which should be the case for Python's REPL?
You may try `rlwrap` which wraps programs without readline support.
link