Home and End commands in Lion
Coming from Windows I've had a tough time adjusting to the way home and end behaves. Luckily the guys at MacroMates had a blog post about this.

http://blog.macromates.com/2005/key-bindings-for-switchers/

Create a file at ~/Library/KeyBindings/DefaultKeyBinding.dict with the following contents:

{
    /* home */
    "\UF729"  = "moveToBeginningOfLine:";
    "$\UF729" = "moveToBeginningOfLineAndModifySelection:";

    /* end */
    "\UF72B"  = "moveToEndOfLine:";
    "$\UF72B" = "moveToEndOfLineAndModifySelection:";
}


I restarted and my keys were behaving as expected!