Hacker News new | ask | show | jobs
by pattt 1616 days ago
Any recommended workflow of integrating IPython and vim in 2022 preferably being able to edit the notebooks, execute cells etc.? Currently this is one of the few reasons why I’m running a full-blown IDE with Jupyter integration. A mature plugin for integration having similar qualities to, say, Fugitive, would be vim users dream I suppose.
1 comments

Start a jupyterqtconsole and use vim-jupyter.

With vim and the qtconsole side by side you can send lines and selections (or entire cells delimited with #%%) to execute in the qtconsole. Plots appear in the qtconsole.