Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Povray command for VIM
" compile POVRay script being currently edited, clear output and open the resulting .png ONLY when povray compilation succeeds.
command Povray !povray % && clear && feh %<.png
" delete the generated .png when exiting from .pov file of the same name.
autocmd BufWinLeave *.pov :!rm %<.png
@ktopolski

This comment has been minimized.

Copy link
Owner Author

@ktopolski ktopolski commented Oct 24, 2015

it requires povray and feh.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment