favourite vim command of the day
July 7th, 2011
No comments
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”.