luk400 / vim-jukit

Jupyter-Notebook inspired Neovim/Vim Plugin
MIT License
602 stars 23 forks source link

Is there an option to force the conversion? #31

Closed aemonge closed 2 years ago

aemonge commented 2 years ago

Is there an option for: call jukit#convert#notebook_convert() or call jukit#convert#notebook_convert("%") to set default answer for the next two prompts: Do you want to overwrite? And do you want to open?

luk400 commented 2 years ago

Currently not, but I can easily add an option to do so. I'll most likely add it sometime this weekend.

luk400 commented 2 years ago

You can now configure default options via the variables g:jukit_convert_open_default and g:jukit_convert_overwrite_default - see relevant section in readme

aemonge commented 2 years ago

Thank you so very much ❤️ , you have made my 🐍 python-dev experience so much better. I'm learning it through Udacity, and it's heavily based on Jupiter NoteBooks web interface. As a (n)Vim user you can understand the frustration, so I deeply 🙇 thank you!

luk400 commented 2 years ago

Thank you, I'm glad you like it! :)