Many times I’ve encountered a situation where I need to convert some codes/text into lowercase or uppercase while using Sublime Text. Then suddenly I thought it would be cool if there is a shortcut to convert selected text into lowercase or uppercase. Gladly there are already built-in shortcuts in Sublime Text 2.
I’ve found the tip from a GIST.
The shortcut is simple, select the text to convert and press the following keys.
For non-mac keyboards.
CTRL+ K
, thenCTTL + L
– for converting into lowercaseCTRL + K
, thenCTRL + U
– for converting into uppercase
Example, you have a text NOFOLLOW
and you want to convert into nofollow
. Select the text, press CTRL
and K
at the same time, then release K
while still pressing CTRL
then press L
.
That’s it. Enjoy and share.
thanks, this helped.
you should write as – Ctrl + U, THEN, Ctrl + U
At first I was doing, Ctrl + K THEN pressing U.
It was confusing for New USERS.. So if you change it, it will help others to understand easily.
Thank you.
Yes, you are correct. Will fix it immediately.