If you frequently use Terminal on your Mac, you can use keyboard shortcuts to speed up your work.
- Windows and Tabs Terminal
- Window and tab navigation
- Teamwork
- Work with text
- Work with marks and bookmarks
Windows and Tabs Terminal
- Open new window: Command + N
- Open a new window with the same command: Control + Command + N
- Open a new tab: Command + T
- Open a new tab with the same command: Control + Command + T
- Show Tab Bar: Shift + Command + T
- Show tab preview: Shift + Command + (backslash)
- Display Inspector: Command + I (large “i”)
- Next window: Command + `(accent)
- Previous window: Command + Shift + ~
- Next tab: Control + Tab
- Previous Tab: Control + Shift + Tab
- Close tab: Command + W
- Close other tabs: Option + Command + W
- Close window: Shift + Command + W
- Close All: Option + Shift + Command + W
Window and tab navigation
- Scrolling to the very top: Command + Home (Fn + left arrow)
- Scrolling to the very bottom: Command + End (Fn + right arrow)
- Scroll Up: Command + Page Up (Fn + Up Arrow)
- Scrolling down: Command + Page Down (Fn + down arrow)
- Line Up: Option + Command + Page Up (Fn + Up Arrow)
- One line down: Option + Command + Page Down (Fn + down arrow)
Teamwork
- New Team: Shift + Command + N
- Move insertion point: Option + cursor
- Move the insertion point to the beginning of the line: Control + A
- Move insertion point to end of line: Control + E
- Move insertion point forward: right arrow
- Move insertion point back: left arrow
- Move the insertion point forward one word: Option + right arrow
- Move the insertion point back one word: Option + left arrow
- Delete beginning of line: Control + U
- Delete end of line: Control + K
- Delete character: Delete
- Delete the character to the right of the cursor: Fn + Delete
- Delete one word on the right: Option + D
- Delete one word on the left: Control + W
Work with text
- Word selection: double-click
- Row selection: triple cursor press
- Select path or link: Shift + Command + double-click
- Select All: Command + A
- Cut: Command + X
- Copy: Command + C
- Paste: Command + V
- Search: Command + F
- Search text: Command + G
- Search previous word: Command + Shift + G
- Search for selected text: Command + E
- Move to selected text: Command + J
- Text Export: Command + S
- Export selected text: Shift + Command + S
Work with marks and bookmarks
- Mark: Command + U
- Bookmark: Option + Command + U
- Deleting a tag: Shift + Command + U
- Line Mark: Command + Return
- Return without mark: Shift + Command + Return
- Paste Bookmark: Shift + Command + M
- Insert a bookmark with the name: Option + Shift + Command + M
- To next mark: Command + down arrow
- To previous mark: Command + up arrow
- To next tab: Option + Command + Down Arrow
- To previous bookmark: Option + Command + Up arrow
- Remove previous tag: Command + L
- Remove previous bookmark: Option + Command + L
- Clear everything to the beginning: Command + K
We hope that using these keyboard shortcuts to work in the Terminal program will become even easier and more convenient for you. We also recommend reading articles on keyboard shortcuts for Notes and Safari.