Fixed virtual env stuff and vi bindings for ipython and repl