Terminal Shortcuts Official Apple Docs
* Move the insertion point to the beginning of the line => control + a
* Move the insertion point to the end of the line => control + e
* Move the insertion point forwards one word => option + <right arrow>
* Move the insertion point backwards one word => option + <left arrow>
* Delete to the beginning of the line => control + u
* Delete to the end of the line => control + k
* Delete backwards to the beginning of the word => control + w
* Switch between tabs => control + tab