News for hackers. Stuff that matters.
Re:The cleanest vimrc you'll ever see by stevelosh on Friday January 20, 2012 @01:55PM (#3490683)
I remapped Capslock to:

"Ctrl if it's held down and pressed with another key, Escape if it's pressed and released on its own."

It works really nicely once you get used to it.

EDIT:

To do that I first mapped Capslock to Ctrl using the normal Apple Keyboard prefs, then used KeyRemap4MacBook and checked this setting: http://i.imgur.com/99cNs.png

http://pqrs.org/macosx/keyremap4macbook/

Re:The cleanest vimrc you'll ever see by jdludlow on Friday January 20, 2012 @01:58PM (#3490700)
I could definitely get used to that. Did you remap that in vim itself, or from your operating system?
Re:The cleanest vimrc you'll ever see by zmanji on Friday January 20, 2012 @02:13PM (#3490766)
How did you get your operating system to do that?