- move back one character:
Ctrl + b
- move forward one character:
Ctrl + f
- delete current character:
Ctrl + d
- delete previous character:
backspace
- move back one word:
Alt + b
- move forward one word:
Alt + f
- delete the word before the cursor:
Ctrl + w
- delete the word after the cursor:
Alt + d
- go to the beginning of the current line:
Ctrl + a
- go to the end of the current line:
Ctrl + e
- clear the line before the cursor:
Ctrl + u
(zsh clears the entire line) - clear the line after the cursor:
Ctrl + k
- forward incremental:
Ctrl + s
- backward incremental:
Ctrl + r