r/IPython • • Jul 20 '16

Does anyone know how to set specific vim-bindings in Ipython 5.0.0?

I have activated vim-like bindings in the profile configuration file, but I would like to set specific keybindings (like 'jk' for escape). Any ideas?

9 Upvotes

2 comments sorted by

1

u/c_park Jul 28 '16

There is an extension for the notebooks adds vim-like bindings called jupyter-vim-binding, but the interpreter I am unsure about. For that I assume vim bindings for your default shell would work. check this out

2

u/[deleted] Jul 29 '16

Thanks for the reply. In Ipython 5.0.0 the .inputrc is not longer used to set interpreter bindings. You have to set vim editing mode in an Ipython profile configuration file. Which I have done, and which works.

However, I can't find any documentation about setting specific vim-bindings in that configuration file.