Automatic variable highlighting in vim
After viewing an interesting post in Reddit about programming in color (syntax highlighting that focuses on data flow instead of syntax), I saw that one user had developed a very similar feature for PHP. The idea is to highlight the variable that your cursor is currently on. I liked what he wrote, so I modified it for Perl.
Neat, huh? I'm going to experiment with this.
If you like it, save the following as