How do I move to the beginning of text in a line, not to the beginning of line?
From the online OS X: Keyboard shortcuts page @ http://support.apple.com/kb/HT1343z:

Command+ ▶︎ Move the text insertion point to the end of the current line
Command+ ◀︎ Move the text insertion point to the beginning of the current line
Command+ ▼ Move the text insertion point to the end of the document
Command+ ▲  Move the text insertion point to the beginning of the document
Option+ ▶︎  Move the text insertion point to the end of the next word
Option+ ◀︎  Move the text insertion point to the beginning of the previous word  

with the ◀︎ icons being the arrow keys on full sized keyboard. Happy typing.