Linking :W and :w in vi?

Probably a weird question, but that's never stopped me.

I'm working on a PHP application in vi, and for some reason I'm not releasing the Shift key in time when I do :w, so I get :W. This becomes a major irritant when you're making changes and saving constantly.

Is there a way I can make :W a recognized command, and have it mean the same as :w? I don't want to start typing more slowly Linking :W and :w in vi?

 

 

 

 

Top