0

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.

3
  • 1
    Which terminal are you using? The solution must have a way to figure out the identifier for the most recent split/terminal. Commented Jul 24 at 21:49
  • @Panki Trying to figure out how to answer this question; vimterminal is the target; bash Commented Jul 26 at 17:55
  • 1
    I should have been more precise, sorry - terminal emulator Commented Jul 30 at 12:08

0

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.