macOS | Windows | Action |
---|---|---|
CMD +A |
CTRL +A |
Move to the beginning of the line |
CMD +E |
CTRL +E |
Move to the end of the line |
CMD +H |
CTRL +H |
Erase backward |
CMD +D |
CTRL +D |
Erase forward |
CMD +F |
CTRL +F |
Move forward one character |
CMD +B |
CTRL +B |
Move backward one character |
OPT +F |
ALT +F |
Move forward one word |
OPT +B |
ALT +B |
Move backward one word |
| `ALT`+`CTRL`+`F` | Erase forward one word
| `ALT`+`CTRL`+`B` | Erase backward one word
CMD
+P
| CTRL
+P
| Previous command (up arrow)
CMD
+N
| CTRL
+N
| Next command (down arrow)