Advertisement placeholder
Cursor Movement
| Action | Mac | Linux |
| Move to beginning of line | Ctrl + A | Ctrl + A |
| Move to end of line | Ctrl + E | Ctrl + E |
| Move forward one word | Option + F | Alt + F |
| Move backward one word | Option + B | Alt + B |
| Move forward one character | Ctrl + F | Ctrl + F |
| Move backward one character | Ctrl + B | Ctrl + B |
Editing
| Action | Mac | Linux |
| Delete character ahead | Ctrl + D | Ctrl + D |
| Delete word behind | Ctrl + W | Ctrl + W |
| Delete to beginning of line | Ctrl + U | Ctrl + U |
| Delete to end of line | Ctrl + K | Ctrl + K |
| Transpose characters | Ctrl + T | Ctrl + T |
| Yank (paste) last killed | Ctrl + Y | Ctrl + Y |
| Undo last edit | Ctrl + _ | Ctrl + _ |
History
| Action | Mac | Linux |
| Previous command | Up / Ctrl + P | Up / Ctrl + P |
| Next command | Down / Ctrl + N | Down / Ctrl + N |
| Search history backward | Ctrl + R | Ctrl + R |
| Search history forward | Ctrl + S | Ctrl + S |
| Run last command | !! | !! |
| Clear screen | Ctrl + L | Ctrl + L |
Process Control
| Action | Mac | Linux |
| Interrupt (cancel) process | Ctrl + C | Ctrl + C |
| Suspend process | Ctrl + Z | Ctrl + Z |
| End of input (EOF) | Ctrl + D | Ctrl + D |
| Quit / core dump | Ctrl + \ | Ctrl + \ |
Tab Management
| Action | Mac | Linux |
| New tab | Cmd + T | Ctrl + Shift + T |
| Close tab | Cmd + W | Ctrl + Shift + W |
| Next tab | Cmd + Shift + ] | Ctrl + Page Down |
| Previous tab | Cmd + Shift + [ | Ctrl + Page Up |
| Split pane horizontal | Cmd + D | — |
| Split pane vertical | Cmd + Shift + D | — |