In OS X, just hold down the Option key when using the arrow keys for the same effect. You can also hold down the Command (⌘) key when using the right or left arrow key for moving to the beginning or end of a line, respectively. These also work when modifying text, such as with the Delete key. For example, Option-Delete deletes an entire word, and Command-Delete deletes an entire line.