Something to note - Mac users, particularly powerbook users, won't be able to use all the F-keys. I personally use comma-commands. So, for example, I use:
in reply to .vimrc for perl programmers
and so on. The cool thing is that you can have the comma-command use as many characters as possible and reuse commands. So, I have ",s" do one thing and ",sf" do another. If you don't hit the 'f' in a second, vim will execute ",s".
nmap ,c :!perl -wc %^M
nmap ,t :!prove -wlv t/*.t^M
nmap ,ac :'a,.s/^/#/gi^M:nohl^M
nmap ,auc :'a,.s/^#//gi^M:nohl^M
My criteria for good software:
- Does it work?
- Can someone else come in, make a change, and be reasonably certain no bugs were introduced?