3 ms·
IPython can also be run as a server (ipython kernel[1]) and then connected to via a vim plugin called vim-ipython [2]. This means you can do the other direction
by pixelmonkey 14y ago
IPython can also be run as a server (ipython kernel[1]) and then connected to via a vim plugin called vim-ipython [2]. This means you can do the other direction: evaluate a vim buffer in a running IPython session, and then connect to that IPython session to actually use the code you wrote in vim.
See:
[1] http://wiki.ipython.org/Cookbook/Connecting_to_a_remote_kernel_via_ssh http://wiki.ipython.org/Cookbook/Connecting_to_a_remote_kern...
[2] https://github.com/ivanov/vim-ipython https://github.com/ivanov/vim-ipython