When I use vim-slime, every time I open a vimterminal I have to reconfigure it.
:let g:slime_target="vimterminal" Followed by:
SlimeConfig And then I choose the terminal I just opened as the target for the buffer I am in via a read statement from the plugin.
This is becoming tiresome; I seem to be able to set the slime_target as vimterminal using my .vimrc, but it is still unclear to me how to call the SlimeConfig command and pass it an argument on the latest newly opened terminal upon opening the vimterminal.
I've found the following thread that seems to address this, but it appears that it's fired every time one switches windows.