How do I move to the beginning of text in a line, not to the beginning of line?
I just switched from Windows and I'm giving Xcode a try. It's really nice, but I have an annoyance when coding - I want to be able to quickly move to the beginning of text in a line of text. However, CMD+left arrow go to the beginning of line, leaving me to manually press right arrow until I get to the first letter.
Can I do something to get a similar behaviour as in Windows?
Solution 1:
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.