Back to articles

How to run Python on Neovim like Jupyter

I am a Code Editor guy, and I am a Terminal Guy. I try all of the Editors from SublimeText VSCode to PyCharm and I keep coming back to Vim/Neovim.Because I work on AI/ML there's no way to not develop in Python and not be confronted with people demo'ing code with Jupyter Notebooks. I confess that is really cool.So, I went on the journey to figure out to solve this missing feature on Neovim.So, for a start, I will show how to do it with LazyVim as it's package manager could not be easier to get stuff started for someone willing to try Neovim for a spin.TL;DR: see video https://www.youtube.com/watch?v=8xP1eZ7E0h0 Neovim Installationbrew install neovim@0.9.0 Other RequirementsGitPython If you don't have it yet install them (or just stop here 😁):brew install gitbrew install python@3.11 Install Lazyim Backup Old ConfigIf you already have another installation, do some backups:# requiredmv ~/.config/nvim ~/.config/nvim.bak# optional but recommendedmv ~/.local/share/nvim ~/
#aiops
#jupyter
#python
#vscode
18 May 2023
vote
comment0