Super Shortcuts

Terminal keyboard shortcuts for Mac

60 shortcuts · Updated

These are the default Terminal keyboard shortcuts on macOS, curated from Apple's official Terminal User Guide. They cover the window and tab management Terminal adds on top of your shell, the readline-style keys for editing the command line, and Terminal's own marks and bookmarks system for jumping back through output.

60 shortcuts

Windows & tabs15

ShortcutAction
Command NNew window
Command TNew tab
Command DSplit the window into two panes
Shift Command DClose the split pane
Command WClose the tab
Shift Command WClose the window
Option Command WClose all other tabs
Option Shift Command WClose all windows
Command `Next window
Command ~Previous window
Control TabNext tab
Control Shift TabPrevious tab
Control Command FEnter or exit full screen
Command PlusMake the font bigger
Command -Make the font smaller

Edit the command line14

ShortcutAction
Control AMove the insertion point to the beginning of the line
Control EMove the insertion point to the end of the line
Option Left ArrowMove back one word
Option Right ArrowMove forward one word
Control UDelete the whole line
Control KDelete from the insertion point to the end of the line
Control WDelete back to the beginning of the word
Option DDelete forward to the end of the word
Forward DeleteForward-delete one character
Control TTranspose the two characters around the insertion point
Control RReverse-search your command history
TabComplete the directory or file name
Tab, then TabList all possible directory or file name completions
Command .Cancel the running command (same as Ctrl-C)

Marks & bookmarks13

ShortcutAction
Command UMark the current line
Shift Command UUnmark
Option Command UMark as a bookmark
Command ReturnMark the line and send return
Shift Command ReturnSend return without marking
Shift Command MInsert a bookmark
Option Shift Command MInsert a bookmark with a name
Command Up ArrowJump to the previous mark
Command Down ArrowJump to the next mark
Option Command Up ArrowJump to the previous bookmark
Option Command Down ArrowJump to the next bookmark
Command LClear output back to the previous mark
Command KClear output to the start

Scrolling6

ShortcutAction
Command HomeScroll to the top
Command EndScroll to the bottom
Command Page UpScroll up one page
Command Page DownScroll down one page
Option Command Page UpScroll up one line
Option Command Page DownScroll down one line

Select & find text8

ShortcutAction
Command FFind
Command GFind next
Shift Command GFind previous
Command EFind using the selected text
Command JJump to the selected text
Command ASelect all
Option DragSelect a rectangular block of text
Shift Command VPaste the current selection

Other4

ShortcutAction
Command ,Open Terminal settings
Option Command RSoft-reset the terminal emulator state
Control Option Command RHard-reset the terminal emulator state
Control Shift Command ?Open the man page for the selected text

Curated from the official Apple Terminal User Guide - keyboard shortcuts. Defaults only - shortcuts you've remapped will differ.

Frequently asked questions

Can you customize keyboard shortcuts in Terminal on Mac?

Terminal has no shortcuts editor of its own, but any menu-item shortcut can be remapped system-wide in System Settings → Keyboard → Keyboard Shortcuts → App Shortcuts. The command-line editing keys (⌃A, ⌃E, ⌃R and friends) come from your shell, so they are configured there - for example in your zsh or bash config.

Which Terminal shortcuts should I learn first?

Start with the command-line editing trio: ⌃A (start of line), ⌃E (end of line), and ⌃U (delete the line), plus ⌃R to search your command history. Add ⌘K to clear the screen and ⌘T for a new tab and you cover most daily use.

What are marks in Terminal?

Terminal automatically marks each prompt line, so ⌘↑ and ⌘↓ jump between previous commands in the scrollback instead of scrolling line by line. Bookmarks (⌥⌘U) are named marks you set deliberately, and ⌘L clears output back to the last mark.

More Mac shortcut guides