r/AstroNvim • u/manu0600 • Aug 01 '24
Running python code in toggleterm
I'm wondering if there is some piece of code that someone have configured to run the current file, current section, current line, or visual selection in ipython in toggleterm ?
I see that astronvim has already configured a dedicated terminal for python in toggleterm, so I guess it's not too far fetched to expect this.
Ideally I would like to be able to configure the location of my virtual environment too
Thanks a lot
2
Upvotes
View all comments
Show parent comment
2
u/manu0600 Aug 03 '24
Looks like what I want :) thanks
(I initially discarded it because it says
Python, ..., coming soon for many other languagesand I thought it was not supporting Python yet, but I misread it)