

You only ever encounter this in bad ports or the odd java app on Mac. I hate it in XP when I want to select all the text in a dialog so I hit ctrl-a and nothing happens. Virtually every app supports the same shortcuts, including things like cmd-a for select all. It’s worth noting that text shortcuts are much more consistent in OS X than on Windows. up arrow on first line of text (including 1 line text fields): beginning of line.down arrow on last line of text (including 1 line text fields): end of line.These last two are not really shortcuts, but the lack of support for them drives me nuts in Windows: you can also chain this, so cmd-shift-right, then shift-left would select to the end of the line, then deselect the last character (ex.For example, cmd-opt-right selects to end of the word. shift with any of the above: select text.opt-forward del: delete to end of word (delete next word).opt-delete: delete to beginning of word (delete previous word).opt-down: end of paragraph (end of next paragraph).opt-up: beginning of paragraph (beginning of previous paragraph).opt-right: end of current word (end of next word).opt-left: beginning of current word (beginning of previous word).This is hardly an exhaustive list, but these are the ones I use regularly (brackets describe behaviour for multiple presses): I thought with so many developers switching to Apple hardware, it would be useful to post a quick run-down on the awesome text shortcuts in OSX.

On of my developers recently switched to a Mac, and was wondering how to move the insertion point to the beginning and end of a line on the Mac (OSX doesn’t support home/end keys in the same way as Windows).
