Skip to content

Instantly share code, notes, and snippets.

@Bostonncity
Forked from ktopolski/povray.vim
Created October 24, 2015 21:51
Show Gist options
  • Save Bostonncity/880c6993cb9b9f1965d9 to your computer and use it in GitHub Desktop.
Save Bostonncity/880c6993cb9b9f1965d9 to your computer and use it in GitHub Desktop.
Povray command for VIM
" compile POVRay script being currently edited, clear output and open the resulting .png ONLY when povray complilation 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
@Bostonncity
Copy link
Author

Test

@Bostonncity
Copy link
Author

Test

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