vim-afterimage
vim-afterimage copied to clipboard
Animated GIFs don't work
It seems when opening a GIF the plugin tries to open the specified file in the temporary directory without the -${frame} appended.
For example on this here device it does create ${tmpdir}/2-0 through ${tmpdir}/2-18, but throws an error about being unable to open ${tmpdir}/2:
"Downloads/somefile.gif" [noeol] 5501L, 925970C
Error detected while processing function AfterimageReadPost:
line 34:
E484: Cannot open file ${tmpdir}/2
Press ENTER or type command to continue
Static GIFs work fine; this problem appears to be limited to animated ones. I'm not sure what to do about this. There isn't a good way to load multiple frames into a single XPM file that I am aware of.
Opening all of the files in the directory might be enough for editing, going through all the frames using :wn and so on.
Shortly after I opened the issue I realized that the real problem is probably to call the underlying library in a way to put the whole thing back together, but that's probably something you could answer better than me ;-)