|
|
|
|
|
by wonderfool
3326 days ago
|
|
> I really like how easy it is to have some code in the left window, which I can easily send to an IPython REPL in the right window This sounds pretty great. Would you mind explaining how that works? Is it specific to Emacs? |
|
https://github.com/emacs-mirror/emacs/blob/master/lisp/progm...
In particular, you need to set the `python-shell-interpreter` variable to "ipython" (which must be in your path preferably). You can then invoke `run-python` to start a REPL, and C-c C-c to send a buffer to it.
There are a couple more interesting commands with this mode, see:
https://github.com/emacs-mirror/emacs/blob/master/lisp/progm...