Table of keyboard shortcuts
In computing, a keyboard shortcut is a sequence or combination of keystrokes on a computer keyboard which invokes commands in software.
Most keyboard shortcuts require the user to press a single key or a sequence of keys one after the other. Other keyboard shortcuts require pressing and holding several keys simultaneously. Keyboard shortcuts may depend on the keyboard layout.
Comparison of keyboard shortcuts
Keyboard shortcuts are a common aspect of most modern operating systems and associated software applications. Their use is pervasive enough that some users consider them an important element of their routine interactions with a computer. Whether used as a matter of personal preference or for adaptive technology, the pervasiveness of common conventions means that a meaningful comparison of keyboard shortcuts can be made across various widely used operating systems.Cells with a yellow background in the tables below denote Apple's "sacred" keybindings.
General shortcuts
A note regarding KDE's shortcuts is that they can be changed and the below list contains the defaults. Some of the combinations are not true for localized versions of operating systems. For example, in a non-English version of Windows, the Edit menu is not always bound to the shortcut. Furthermore, many shortcuts are just common conventions and are not handled by the operating system. Whether such commands are implemented depends on how an actual application program is written. Not all applications follow these conventions, so if it doesn't work, it isn't compatible.Action | Windows | macOS | KDE / GNOME | Emacs | Vim | Chrome OS |
File menu | , or then | , then | , then | or | ||
Edit menu | , then | , then | ||||
View menu | , then | |||||
Undo the last operation | , or | , then or or or | ||||
Redo the last operation | , or | , or | Same as undo, when undo is exhausted, it redoes. Move the cursor after one or more undos, and further undos will be redos. | |||
Cut the selection and store it in the clipboard | Ctrl-X|, or | or to cut in register "a" or to cut in system clipboard | ||||
Copy the selection into the clipboard | Ctrl-C|, or | , or | or or | |||
Paste contents of clipboard at cursor | Ctrl-V|,or | , or | or to paste the content of the "a" register or to paste the content of the system clipboard | |||
Paste special | ||||||
Select all in focused control or window | , then | , unlikely ever needed as most commands take an optional range parameter. means "all in focused windows" here so e.g. to copy all the text, use | ||||
Cycle through installed keyboard languages / input methods | , or The latter displays a menu with the currently selected input method highlighted, and debuted in Windows 8. | Configure desired keypress in Keyboard and Mouse Preferences, Keyboard Shortcuts, Select the next source in Input menu. | via KDE Keyboard in GNOME | |||
Open Help Menu | in GNOME |
Navigation
Action | Windows | macOS | KDE / GNOME | Chrome OS |
New browser window with same page as current | ||||
New folder | ||||
Applications menu | or | , then | e.g. for File | |
Lock desktop | or or MBR | |||
Show desktop | ||||
Access SysTray | ||||
Emoji Picker | ||||
Minimize all windows | , then use to bring back all windows | |||
Log out user | Control-Alt-Delete| | |||
Switch active user | ||||
Task manager | , Control-Alt-Delete| | |||
Rename object | or | |||
Open file or program | or | or | ||
Switch window | / | / | / | Hold, then quickly press |
Switch window without dialog | / | Only works within single Applications / | / | |
Run application | , enter executable name or , enter executable name | , enter executable name or | , enter executable name | |
Search | , enter executable name or or | |||
Show Hidden Files | , while in Finder, will toggle setting | in GNOME, in KDE |
Power management
Action | Windows | macOS | KDE / GNOME | Chrome OS |
Place computer into sleep/standby mode | Windows 10: > > Windows 7: | |||
Task manager/Force quit | ||||
Shut down computer | Windows 10: > > | |||
Restart computer | Windows 10: > > Windows 7: | or | ||
Place display in sleep mode | where is lined | |||
Bring up power/sleep dialog box | ||||
Force shutdown |
Screenshots
Action | Windows | macOS | KDE / GNOME |
Save screenshot of entire screen as file | set the name and click "Save". GNOME Shell | ||
Copy screenshot of entire screen to clipboard | or | ||
Copy screenshot of active window to clipboard | |||
Save screenshot of window as file | then then move mouse and click | set the name and click "Save". GNOME | |
Save screenshot of arbitrary area as file | then click+drag mouse over required area | set the name and click "Save". GNOME | |
Copy screenshot of window to clipboard | then then move mouse and click | click "Copy to Clipboard". GNOME | |
Copy screenshot of arbitrary area to clipboard | Windows 10: | then click+drag mouse over required area | click "Copy to Clipboard". GNOME |
Screencasting | |||
Screenshot Utility | macOS Mojave: |
Text editing
Many of these commands may be combined with to select a region of text.Action | Windows | macOS | KDE / GNOME | Emacs | Vim | Chrome OS |
Delete char to the right of cursor | or | or | or or | |||
Delete word to the right of cursor | or | or | ||||
Delete word to the left of cursor | or | or | ||||
Go to start of line | or | or | or | or | ||
Go to end of line | or | or | or | |||
Go to start of document | or | |||||
Go to end of document | or | |||||
Go to previous word | or | or or | or | |||
Go to next word | or or | or | ||||
Go to previous line | or | or | or | |||
Go to next line | or | or | or | |||
Go to previous line break | or | |||||
Go to next line break | or | |||||
Move the cursor down the length of the viewport | or | or | or | |||
Move the cursor up the length of the viewport | or | or | or | |||
Find | ||||||
Go to next search result | or | |||||
Go to previous search result | or | |||||
Search and replace | or | |||||
Search with a regular expression | All searches use regular expressions. | |||||
Search and replace with a regular expression | All searches use regular expressions. |
Text formatting
Browsers / Go menu
Web browsers
Tab management
Window management
User interface navigation (widgets and controls)
Command line shortcuts
Below is a list of common keyboard shortcuts that are used in a command line environment.Action | Microsoft Windows | Microsoft Windows | Unix & -like, including macOS | Unix & -like |
Scroll through History of typed commands | / | / | / or / | / |
Signal end-of-file | ||||
Abort current command/typing | ||||
Erase word to the left | or | |||
Erase word to the right | ||||
Erase line to the left | ||||
Erase line to the right | ||||
Yank/paste previously erased string | ||||
Move one word to the left | ||||
Move one word to the right | ||||
Move to beginning of line | or | |||
Move to end of line | or | |||
Reverse search of history | ||||
Pause execution of the current job | ||||
Insert the next character typed verbatim | ||||
Autocomplete command/file name | ||||
Paste contents of clipboard at cursor | then then | |||
Scroll window up | ||||
Scroll window down | ||||
Clear screen |
Accessibility
- In Windows, it is possible to disable these shortcuts using the Accessibility or Ease of Access control panel.
- In GNOME, these shortcuts are possible, if Universal Access is enabled on the system.
Action | Windows | macOS | KDE | GNOME |
Utility Manager | ||||
Use keyboard to control cursor | ||||
Allow user to press shortcuts one key at a time | press 5 times | 5 times | ||
Hear beep when -lock key pressed | hold 5 seconds | |||
Stop/slow repeating characters when key is pressed | hold 8 seconds | hold for 8 seconds | ||
Inverse Mode | ||||
Inverse Mode | ||||
Accessibility Shorcut This can be set as Greyscale, Invert Colours, Magnifier and more in Ease of Access settings |