Vim keybindings in ipython
To set vim keybindings in ipython, do the following:
Add the following set commands in your ~/.inputrc file:
set editing-mode vi
set keymap vi-insertecho -e "\n# Vim keybindings\nset editing-mode vi\nset keymap vi-insert" >> ~/.inputrcediting-mode controls the key bindings used.
keymap controls readline's key bindings.
Comments
Leave a Reply