Issue
I have enabled vi mode in my ~/.inputrc
using the following lines in my mac.
set editing-mode vi
When I use IPython in terminal, I am getting proper vi key bindings, but when I use IPython in QtConsole using the command ipython qtconsole
the vi key bindings don't work.
Is there anything else I have to do to get vi key bindings in IPython QtConsole?
Solution
Qt console is not built around readline or anything related to the OS terminal. It's a Qt widget that mimics much of the behavior of terminal IPython and also has several cool features of its own (like inline plots and the ability to render Latex).
It comes with a lot of key bindings (which you can find by going to the menu Help > Show QtConsole Help
) but unfortunately none of them is customizable.
Answered By - Carlos Cordoba
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.