goerz / jupytext.vim

Vim plugin for editing Jupyter ipynb files via jupytext

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can we make this work with vim's DiffOrig command?

monopoly-db opened this issue · comments

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 original .ipynb notebook. Can we make this plugin first convert the opened .ipynb file to markdown and then do a diff, when :DiffOrig is used?