szymonmaszke / vimpyter

Edit your Jupyter notebooks in Vim/Neovim
MIT License
333 stars 17 forks source link

Saving to /tmp #10

Closed PLBMR closed 6 years ago

PLBMR commented 6 years ago

Every time I try to :w when editing a .ipynb file now, it saves my notebook to the /tmp directory rather than to the current directory. Is there something within this package that is setting where the notebook is saved?

szymonmaszke commented 6 years ago

Change global variable g:vimpyter_view_directory, for example: let g:vimpyter_view_directory = '$HOME/.vimpyter_views'.

Take note, that the view (.ipynb opened in vim) is only in /tmp (or should be) and everytime you save your notebook results are converted to your original notebook in your specified directory. Are your notebooks saved correctly in this manner?

If you need any further assistance or the issue still persists please reopen.