sponsor Vim development Vim logo Vim Book Ad

colour_flip.pl : perl script to inverse colourscheme colours

 script karma  Rating 7/4, Downloaded by 816    Comments, bugs, improvements  Vim wiki

created by
Matthew Hawkins
 
script type
utility
 
description
Ever held visual bell on and thought "gee, that doesn't look too bad?" then spent hours inverting your colourscheme by hand to make a new one?
Well, stop wasting time.  Just pipe the colourscheme through this here funky perl script, and save the output as your new scheme.  It takes a whole 0.035 seconds to run on a 433Mhz Celeron.  This amounts to a considerable (~102857) amount of time saving!
It will recognise both RGB and system colour names and do its best to invert them.
NOTE: it will break on colourscheme files where the highlight commands span multiple lines.  Maybe I'll fix that someday, but then again maybe not.  Feel free to upload a new version which does that.
 
install details
save it, edit it to your liking, run it through your perl interpreter.  I don't use any weird-arse CPAN modules so you don't need anything else.
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
colour_flip.pl 1.0 2002-09-03 6.0 Matthew Hawkins Initial upload
ip used for rating: 54.196.181.109

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
SourceForge.net Logo