Skip to content

Instantly share code, notes, and snippets.

@ktopolski
Last active October 24, 2015 22:29
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
Star You must be signed in to star a gist
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
Copy link
Author

it requires povray and feh.

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