vim-ipython
jupytext.vim
vim-ipython | jupytext.vim | |
---|---|---|
2 | 4 | |
1,031 | 294 | |
- | - | |
10.0 | 4.4 | |
over 5 years ago | 7 months ago | |
Python | Vim Script | |
- | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
vim-ipython
-
jupyter and vim
In my setup the figures appear as new windows on my other monitor, which works really well. If you want to display the figures inline, you can for example use QtConsole. You would then need another plugin to connect vim and IPython, for example vim-ipython (no support for cells as far as I know) or nvim-ipy (for neovim). Here's an article that describes a setup with the latter: https://www.blog.gambitaccepted.com/2020/04/26/neovim-qtconsole-setup/
- Using Neovim in place of Jupyter notebooks
jupytext.vim
-
Edit notebooks in Google cloud
I tried plugins like jupytext.vim but it was not enough mature in these old times :-)
-
Jupyter Notebooks in NeoVim. Any good way?
You can also use jupytext.vim to easily open and edit notebooks. Then you can use a REPL program to evaluate the different cells individually. The only downside to me is that you can’t save the output back to the notebook (images etc.).
-
jupyter and vim
Editing *.ipynb files can also be edited with jupytext.vim, which automatically converts *.ipynb files using jupytext which you open them in Vim. I haven't tried this yet (it's on my todo list), but it looks pretty solid.
-
Nbterm: Jupyter Notebooks in the Terminal
For editing notebooks in vim, I've created https://github.com/goerz/jupytext.vim. Note that this does not allow to run any cells, it just edits the inputs.
The motivation behind this was to have some basic interaction with existing ipynb files on a remote server without having to run the jupyter server (and set up port forwarding etc.) It's worth noting that the `jupytext.vim plugin is most useful if you're actually not running `jupytext` within jupyter; If you are, you could just directly open the .py or .md files linked to any .ipynb in your editor.
I've used `jupytext.vim` to edit existing notebooks and then run them through `jupyter nbconvert --to notebook --execute`. It's also great for refactoring: moving code from a notebook files into a module, between notebooks, or to create a new notebook as a variation of an existing one.
What are some alternatives?
nvim-ipy - IPython/Jupyter plugin for Neovim
vim-ipython-cell - Seamlessly run Python code in IPython from Vim
jupyter-vim-binding - Jupyter meets Vim. Vimmer will fall in love.
jupyter-vim - Make Vim talk to Jupyter kernels
jupyterlab-vim - :neckbeard: Vim notebook cell bindings for JupyterLab
nbterm - Jupyter Notebooks in the terminal.
magma-nvim - Interact with Jupyter from NeoVim.
jupyter - An interface to communicate with Jupyter kernels.
jupytext - Jupyter Notebooks as Markdown Documents, Julia, Python or R scripts
vnlog - Process labelled tabular ASCII data using normal UNIX tools