In nvim how can I come out of the terminal mode without closing the nvim overall?!
In Vim I just do :!python script.py
, when I'm done reading the output I can hit enter to come out of the python shell.
In nvim I do now :terminal python script.py
, I am directed to the python shell output, and there is no way to get back to my script. :q
of course closes nvim.
This is feeling horrible in comparison how easy it was done in Vim!
:terminal
replace the buffer in the current window? That's a bit odd, to me, since Vim's:terminal
splits the window first. So C-w c or similar only closes the new window.