jupytext.vim
jupytext.vim copied to clipboard
Vim plugin for editing Jupyter ipynb files via jupytext
Currently vim's :DiffOrig command starts a diff between the current modified buffer (which is a notebook converted to a markdown file using jupytext) and the on disk copy of the...
When you set `let g:jupytext_filetype_map = {'md:myst': 'markdown'} let g:jupytext_extension_map = {'md:myst': 'md'} let g:jupytext_fmt = 'md:myst' ` the new format isn't taken into account and opening a file yields...
When creating a notebook with `vim` and `jupytext.vim` (`vim notebook.ipynb`), if not any cell has a title when first writing the file (`:w`), then following writings of the file will...
I know that it's possible to set `jupytext_fmt` to convert the .ipynb to a given format, either, `py`, `jl`, `md`, etc. But I use both Julia and Python Jupyter Notebooks...
Prevents editor blocking for a few seconds every write Uses old functionality if the editor version doesn't support jobstart (I.e. isn't neovim). I tried to get it working for vim,...
I noticed that the generated jupytext file was not successfully deleted when closing the buffer. The debug messages showed that `s:cleanup` was invoked, but something complained about a wrong argument....
Probably not the best place to ask this question, but I'm quite new to Jupyter Notebook, so I'll give it a try. I do all my notebook editing in vim...
This is a bit more radical than my previous pull request. It completely decouples notebook language and format and eliminates the need for an additional global setting. In this PR...
A new variable `g:jupytext_style` can be used to specify the format for the notebook to plain text conversion. For example: ``` let g:jupytext_style='hydrogen' ``` to always use the hydrogen format...
The first change sets the filetype for .ipynb buffers to `jupytext` right before it changes it to python. This just means any ftplugins defined for a `jupytext` filetype will be...