Is it possible to set up something like this for Vim? I am devoting this summer to learning one editor in depth, and I was thinking of going with Vim because it is on servers everywhere. But I've also chosen to deep dive into python and I love the ipython notebooks, so this could be handy
going with Vim because it is on servers everywhere No it really isn't. At best you can probably rely on vi being on most *nix servers, but vi is not vim. So if that is your reasoning make sure you learn vi and not (only) vim. Also if you are in a position where you might be dropped into some older and more obscure environments, make sure you have at least a working knowledge of ed.
Thanks for the tip about ed, I can do the basics with it.