iPython 5 switched to python-prompt-toolkit, and no longer uses readline config (~/.inputrc
)
On my mac, I have Option+left and Option-right configured as backward-word and forward-word respectively. This works great in my bash shells, and used to work fine in ipython. However it no longer works with ipython 5, as they now just type B and F.
In the ipython source I see plenty of ways of configuring Control+[key] (which is fairly useless on a Mac), but basically zero mentions of the Alt/Option key.
How can I configure ipython to use Option-left and Option-right to move between words?