Sudar
Sudar

Reputation: 20020

Enabling vi key bindings in IPython qtconsole

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?

Upvotes: 4

Views: 1179

Answers (1)

Carlos Cordoba
Carlos Cordoba

Reputation: 34186

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.

Upvotes: 2

Related Questions