In case someone wants vim key bindings in the Python interpreter:

import readline

readline.parse_and_bind(‘set editing-mode vi’)

Reply to this note

Please Login to reply.

Discussion

I want your banner picture!!!!!

vector-banner-night-city

put it in .vim.py in your home directory and add this to your .profile:

PYTHONSTARTUP=$HOME/.vim.py; export PYTHONSTARTUP