daleroberts / itermplot

An awesome iTerm2 backend for Matplotlib, so you can plot directly in your terminal.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TMUX vim slime

brijow opened this issue · comments

When I select a set of lines in vim and send to other tmux pane using vim slime, the plot gets drawn in the same pane as my editor:

before sending lines:
Screen Shot 2021-07-09 at 8 49 16 AM

after sending lines:
Screen Shot 2021-07-09 at 8 49 28 AM

Unfortunately, I believe this has to do with the way that vim slime works and nothing that my library has any control over. My guess is that iterm draws the image where the cursor location is and I'm guessing when commands are sent to the right window by tmux slime, it instantly places the cursor back in the left window?

Hi, did you manage to solve this issue?