Shortcut | Purpose |
---|---|
Alt + B | Move to start of current/previous word |
Alt + F | Move to start of next word |
Ctrl + A | Move to start of current line |
Ctrl + E | Move to end of current line |
Alt + H | Open man page for current command |
Alt + Del | Delete to start of current/previous word |
Alt + D | Delete to end of current/next word |
Ctrl + U | Delete current line |
Ctrl + K | Delete to end of current line |
Alt + L | Convert to end of current word to lowercase |
Alt + U | Convert to end of current word to uppercase |
Alt + C | Capitalise to end of current word |
Alt + T | Switch current and previous word |
Ctrl + T | Switch current and previous character |
Ctrl + Y | Paste deleted text |
Ctrl + _ | Undo |
Tab | Show list of matching commands/files/folders |
Tab + Tab | Cycle through matching results |
Ctrl + R | Search command history (repeat to cycle) |
Ctrl + P | Move to previous command in history |
Ctrl + N | Move to next command in history |
!! | Execute last command |
!ab | Execute last command starting with ab |
^foo^bar^ | Run previous command, replacing foo with bar |
Ctrl + S | Stop output to screen |
Ctrl + Q | Resume output to screen |
Ctrl + L | Clear the screen |
Ctrl + D | Exit current shell |
Created
March 7, 2025 22:54
-
-
Save hinchley/4e202e0fd8083c3c50b01c87c472092e to your computer and use it in GitHub Desktop.
Zsh Shortcuts
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment