3 ms·
For vim users, jupyter-vim [0] coupled with a jupyter QtConsole is hard to beat. The short video [1] is maybe self-explanatory, but in short: - vim on the left
by threwaway4392 2y ago
For vim users, jupyter-vim [0] coupled with a jupyter QtConsole is hard to beat. The short video [1] is maybe self-explanatory, but in short:
- vim on the left half of the screen, a jupyter QtConsole on the right, showing any plots, possibly interactive.
- the kernel on the jupyter QtConsole can be running on a powerful remote host, e.g., with GPU, but the plots are displayed locally
- Focused window is always vim. From vim editing a .py and without ever leaving vim or touching the mouse, one connects once to the jupyter kernel of the QtConsole. Then one can send a selection of lines, or vim text objects, to be evaluated in the QtConsole with a few keystrokes. Code is shown+evaluated and plots are displayed in the QtConsole as if the code sent from vim had been typed there.
One gets the full power of both vim and jupyter kernels with native plots. No more browser based notebooks or other editors with half-baked vim bindings.
[0]: https://github.com/jupyter-vim/jupyter-vim https://github.com/jupyter-vim/jupyter-vim
[1]: https://www.youtube.com/watch?v=h59cbg4HqpY https://www.youtube.com/watch?v=h59cbg4HqpY
- abdullahkhalids 2y agoOr you could use emacs and have the images displayed inline.
- arjvik 2y ago...and you just triggered a holy war :)
- dsp_person 2y agoThe ability to send code to a Jupyter kernel is pretty sweet. I made a python script that starts a kernel in the background that you can pipe commands to/from in your shell, or even open a QtConsole with the current state. https://github.com/digitalsignalperson/comma-python https://github.com/digitalsignalperson/comma-python
- deleted 2y ago[deleted]