Terminal related shortcuts, commands, tools, plugins, etc.
CTRL + A
— Move to the beginning of the lineCTRL + E
— Move to the end of the lineCTRL + B
— Move back one characterCTRL + F
— Move forward one characterALT + B
ALT + [left arrow]
CTRL + [left arrow]
— Move one word backwardALT + F
ALT + [right arrow]
CTRL + [right arrow]
— Move one word forward
CTRL + W
— Cut the word in front of the cursorALT + D
— Cut the word after the cursorCTRL + U
— Cut the entire line for ZSH. Cut everything before the cursor (BASH)CTRL + K
— Cut everything after the cursorESC + [backspace]
— Cut the word in front of the cursorCTRL + Y
— Paste the text of last deleted commandCTRL + _
— Undo the last change
CTRL + R
— Search historyCTRL + N
— Next command from the HistoryCTRL + P
— Previous command from the HistoryCTRL + G
— Cancel search and restore original lineCTRL + J
— End the search at current history entry
CTRL + L
— Clear terminal screenCTRL + S
— Stop output to screenCTRL + Q
— Re-enable screen outputCTRL + C
— Terminate/kill current foreground processCTRL + Z
— Suspend/stop current foreground process!!
— Execute last command in history!abc
— Execute last command in history beginning with abc!abc:p
— Print last command in history beginning with abc