Select all shortcut
Ctrl + A selects all text, files or items on Windows; Cmd + A on Mac.
Select all
Windows
Ctrl+A
Mac
⌘ Cmd+A
All the related shortcuts
Action
Windows
Mac
Select all
WindowsCtrl+A
Mac⌘ Cmd+A
Select the whole line
WindowsShift+Home
Mac⌘ Cmd+⇧ Shift+←
Extend the selection by a word
WindowsCtrl+Shift+→
Mac⌥ Option+⇧ Shift+→
Select to the end of the document
WindowsCtrl+Shift+End
Mac⌘ Cmd+⇧ Shift+↓
Select all occurrences
WindowsCtrl+Shift+L
Mac⌘ Cmd+⇧ Shift+L
Frequently asked questions
What is the keyboard shortcut to select all?
On Windows, press Ctrl + A. On Mac, press Cmd + A.
What is the keyboard shortcut to select the whole line?
On Windows, press Shift + Home. On Mac, press Cmd + Shift + Left.
What is the keyboard shortcut to extend the selection by a word?
On Windows, press Ctrl + Shift + Right. On Mac, press Option + Shift + Right.
What is the keyboard shortcut to select to the end of the document?
On Windows, press Ctrl + Shift + End. On Mac, press Cmd + Shift + Down.