Reply to comment
Tip: vi and lowercase/uppercase
Submitted by lefred on Thu, 01/10/2008 - 13:32
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 ;)
Tags:















Recent comments
6 days 13 hours ago
1 week 5 days ago
3 weeks 6 hours ago
7 weeks 1 day ago
7 weeks 1 day ago
7 weeks 1 day ago
7 weeks 6 days ago
7 weeks 6 days ago
8 weeks 1 day ago
8 weeks 1 day ago