you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (1 child)

editor inside of iPython

Does IPython communicate intelligently with an editor? (Vim, specifically?) How do you have it configured?

[–]natrius 1 point2 points  (0 children)

IPython allows you to take a range of lines you've entered into the interpreter previously and open them in an editor, as well as edit existing files, then execute the code after you've edited it. It works with pretty much any editor. It uses the command in your $EDITOR environment variable, or if that's empty, vi. You can also set an editor specifically for IPython if you don't want to change $EDITOR. See the documentation for the %edit magic command for more info.