vi modelines



Hi,

I made a little perl script to add/change the vim modeline. I think it's 
easier to send a script than a whole patch file.

execute this in each subdir to add or change the modeline.
perl -i -ne 'next if m/\svim:/; print; print "/* vim:set cino=\">1s,(0\" 
sw=4 */\n" if m/\s-\*-/;' *.[ch]


Bart
-- 
Fingerprint = CD4D 5601 287D F075 6F96  6157 99F9 E56A 4B08 6D06



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]