Ctrl
+ A
Go to the beginning of the line you are currently typing onCtrl
+ E
Go to the end of the line you are currently typing onCtrl
+ U
Clears the line before cursor position (or the entire line if you are at the end of the line)Ctrl
+ H
Alternative to using backspaceCtrl
+ W
Delete the word before the cursorCtrl
+ K
Clear the line after the cursorCtrl
+ T
Swap the last two characters before the cursorEsc
+ T
Swap the last two words before the cursorAlt
+ F
Move cursor forward one word on the current lineAlt
+ B
Move cursor backward one word on the current linehttp://stuffthatinterests.me/articles/move-the-os-x-terminal-cursor-position-by-clicking-the-mouse
http://archive.is/lOfZj