Shortcuts!
Keyboard shortcuts allow programmers to be more efficient. This post will share a list of my frequently used Mac keyboard shortcuts. The teacher in me included some keys words that may help you remember each shortcut. :)
General shortcuts
⌃ a - a is the first letter of the alphabet, so it moves you to the front of the line/paragraph.
⌃ e - exits by moving you to the end of the line
⌃ d - delete next character
⌃ p - move up one line
⌃ n - move down one line
⌃ o - order a new line after the insertion point
⌃ f - move one character forward
⌃ b - move one character backward
⌥ ←/→ - moves to end of next word in either direction
⌘ ↑ - move to the top
⌘ ↓ - move to the bottom
⌘ ← - move to the front of the line/paragraph
⌘ → - move to the end of the line/paragraph
⌘ a = select all of the stuff on the page
⌘ f = find a word/phrase
⌥ ↑ - move selected items up
⌥ ↓ - move selected items down
⌥ } - move selected item to the right
⌥ { - move selected items to the left
In the command line
⌃ k - kill everything after insertion point
⌃ y - yank it back after you killed it/ctrl k
⌃ c - crucify (kill) whatever is running