itermplot icon indicating copy to clipboard operation
itermplot copied to clipboard

plotting in nvim terminal mode

Open mohelm opened this issue 7 years ago • 4 comments

Hi, many thanks for providing this very useful plugin.

I got this to work in iterm2. But it would not show a plot when I am using it in terminal mode in neovim. Is there any a priori reason why this would not work?

Many thanks

mohelm avatar Sep 11 '18 10:09 mohelm

Hi Moritz, it could be that neovim is capturing the special escape codes that iterm2 needs to see for it to display the image. I’ll have to do some testing...

On 11 Sep 2018, at 8:14 pm, Moritz Helm <[email protected]mailto:[email protected]> wrote:

Hi, many thanks for providing this very useful plugin.

I got this to work in iterm2. But it would not show a plot when I am using it in terminal mode in neovim. Is there any a priori reason why this would not work?

Many thanks

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/daleroberts/itermplot/issues/34, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AAjjJNzObTU2GpGnMBUIl4djmi3cr-Hxks5uZ4z0gaJpZM4WjAWv.

daleroberts avatar Sep 12 '18 01:09 daleroberts

Thanks a lot.

mohelm avatar Sep 12 '18 07:09 mohelm

@daleroberts If I wanted to look into this, is there a section of the codebase where I can see what the special escape codes are? Hoping to have this working within a project I'm working on!

Edit: Some observations:

  • imgcat doesn't work in the nvim terminal, and fails in the same way (prints a newline and exits)

mtn avatar Mar 29 '19 21:03 mtn

I'd also like to see if we can have this in nvim!

huyiqun avatar Dec 23 '19 04:12 huyiqun