daleroberts / itermplot

An awesome iTerm2 backend for Matplotlib, so you can plot directly in your terminal.
1.49k stars 51 forks source link

TMUX vim slime #47

Closed brijow closed 3 years ago

brijow commented 3 years ago

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
daleroberts commented 3 years ago

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?

kiedanski commented 1 year ago

Hi, did you manage to solve this issue?