luk400 / vim-jukit

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

Feature request: source venv on output split launch #104

Open rileythai opened 11 months ago

rileythai commented 11 months ago

For development workflows, jukit could source the venv in the current working directory while opening an output split. This should be helpful for users who want to run quick checks, tests, or other actions in an iPython split.

I presume all that would have to be done is get it to find venv or .venv in the CWD and source it beforehand, but something really simple would be:

source .venv/bin/activate && ipython -i -c ...{REST OF COMMAND}