VimPlugin: vim-ipython

From wikinotes

vim-ipython allows you to send lines/files directly to ipython through vim. It requires some setup:

NOTE:

This was a neat idea, but the setup was cumbersome and it's just not that hard to split a tmux pane and run ipython. I don't use this.


UNABLE TO SET UP USING ZEROMQ KERNEL OR QTCONSOLE FOR PYTHON 2X or 3X


CLI

sudo pip2 install ipython
sudo pip2 install pyzmq				## ipython pyzmq kernel
sudo pip2 install pygments
sudo pacman -S python2-pyside
sudo pacman -s python2-pyqt4


#### Connection Options
ipython console						## Start regular ipython terminal session
	%connect_info						 # get connection info from session

ipython kernel							## start ipython-kernel (allow remote control of ipython)
											 # (requires pyzmq)

ipython qtconsole						## start qtconsole hybrid console (requires pyside, pygments, pyzmq)

VIM

:source ~/.vim/bundle/vim-ipython/ftplugin/python/ipy.vim

## The ipython kernel command will give you a string that looks like:
## --existing kernel-30341.json. connect to it with the new :IPython command
:IPython --existing kernel-30341.json