or download this
Where can I get Perl macros for vi?
For a complete version of Tom Christiansen's vi configuration file, se
+e http://www.perl.com/CPAN/authors/Tom_Christiansen/scripts/toms.exrc
+.gz, the standard benchmark file for vi
emulators. This runs best with nvi, the current version of vi out of B
+erkeley, which incidentally can be built with an embedded Perl interp
+reter -- see
http://www.perl.com/CPAN/src/misc.