Cocoa Text System

I came across an awesome article on the Cocoa Text System. If you do alot of text editing I recommend you check it out, along with the default key bindings.