favourite vim command of the day

I’m a big fan of writing constants in big letters, in every language. This is perfect for re-editing :

:gUw

Puts the current word (“w”) into uppercase (“U”), lowercase would be “u”.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *