dccsillag / magma-nvim

Interact with Jupyter from NeoVim.
GNU General Public License v3.0
988 stars 50 forks source link

Can you edit .ipynb files? #53

Closed wjdhamilton closed 2 years ago

wjdhamilton commented 2 years ago

This seems like a silly question, but how do you get started using this plugin? I had supposed that I would just open a .ipynb file but nvim shows it as an unparsed text file with all the delimiters etc. visible. Are you supposed to start with a blank file and then work from there?

Sorry if I'm being an idiot!

dccsillag commented 2 years ago

This plugin "just" gives you with a handy way of executing code via Jupyter -- it doesn't add support for reading/writing .ipynb files.

If you want to edit .ipynb files, then I recommend https://github.com/goerz/jupytext.vim.

(Not sure if I explained things properly, feel free to ask here if you have more questions :sweat_smile: .)