Category Tips and tricks

Tip: vi and lowercase/uppercase

As always I use my blog as reminder of some useful commands or tips.

This one is for dimi, to change the case of a full document in vi, use the following command to transform everything in lowercase :


<ESC>:%s/.*/\L&/

and in uppercase :

<ESC>:%s/.*/\U&/

I hope this helps ;)