News for hackers. Stuff that matters.
Re:Caps Lock Key Has No Place on a Modern Keyboard by runn1ng on Friday March 29, 2013 @11:48PM (#5464285)
Ummm... I don't get it. What is wrong with caps lock?

What if I want to type, let's say, some longer name of a constant that are usually IN_ALL_CAPS_AND_WRITTEN_LIKE_THIS?

I don't want to hold shift on all these letters. I LIKE CAPS LOCK AND I LIKE IT A LOT.

Re:Caps Lock Key Has No Place on a Modern Keyboard by tmalloy on Friday March 29, 2013 @11:53PM (#5464296)
If you're using vi you can do something like this:

nnoremap <c-u> viwU

To use it just type the word in lowercase, hover your cursor over any letter in the word, and press Ctrl-U to highlight it.