Povray command for VIM
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" 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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
it requires povray and feh.