Last active
August 31, 2018 07:00
-
-
Save zz85/0d57491c5fe3aacb5e59c80a3ab202e8 to your computer and use it in GitHub Desktop.
OSX Terminal Shortcuts (/Working with Long Terminal Commands)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Movements | |
Esc - F (Forward a word) | |
Esc - B (Back a word) | |
Ctrl - A (Start of line) | |
Ctrl - E (End of line) | |
Ctrl - F (Next line) | |
Ctrl - B (Previous line) | |
Deletions | |
Ctrl - D (Delete char under cursor) | |
Ctrl - H (Delete char before cursor / Backspace) | |
Ctrl - W (Delete word backwards) | |
Ctrl - U (Delete up a line) | |
Others | |
Ctrl - R (Backward search) | |
Ctrl - T (Swap characters) | |
Ctrl - X (select? Ctrl - E to edit) | |
Ctrl - L (clear line, same with Cmd-K) | |
Ctrl - D (Exit Terminal) | |
Ctrl - Z (Background) | |
Iterm | |
Cmd - D (Split Iterm Window) | |
Cmd - Shift - D (Split Iterm Window Vertically) | |
Cmd - K (Clear buffer) | |
Cmd - / (Find cursor) | |
Cmd - , (Settings) | |
Cmd - N (New Window) | |
Cmd - M (Minimize) | |
Ctrl - E Invoke Editor for command (or fc) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment