Excellent article. Here's another tip Perl/vim users may find useful:
When you're creating test files for your CPAN distribution (or other projects) you'll often have a bunch of t/*.t files. Because they don't have a shebang line or a .pl extension, the Perl syntax mode is not automatically enabled. You can have it come on automatically by including a comment like this:
# vim: syntax=perlIn reply to VIM syntax highlighting in test scripts
by grantm
in thread Editing features for advanced users
by gmax
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |