CTRL + A : Move the cursor to the beginning of the lineCTRL + E : Move the cursor to the end of the lineOPTION + Left Arrow : Move the cursor one word backwardOPTION + Right arrow : Move the cursor one word forwardLeft Arrow : Move the cursor one character backwardRight Arrow : Move the cursor one character forward
CTRL + U : Delete the current lineCTRL + K : Delete from the cursor to the end of the lineESC + Backspace : Delete one word backwardCTRL + W : Delete one word backwardCTRL + D : Delete one character forwardFn + Backspace : Delete one character forwardBackspace : Delete one character backwardCTRL + L : Clear the screen
CTRL + _ : Undo the last change
CTRL + C : Terminate the running foreground processCTRL + Z : Suspend the running foreground processCTRL + D : Exit current shell
Up Arrow : Recall the previous command in historyDown Arrow : Recall the next command in historyCTRL + R : Search the command historyCTRL + G : Escape from command search mode!! : Execute the last typed command!pw : Execute the last command in history that begins with pw
TAB : Auto-complete the typed commandTAB TAB : Show list of commandsTAB TAB TAB ... : Cycle through matched commands
% bindkey