Table of keyboard shortcuts

Last updated

In computing, a keyboard shortcut is a sequence or combination of keystrokes on a computer keyboard which invokes commands in software.

Contents

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 (indicated in the tables below by the + sign). 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.

General shortcuts

Many shortcuts (such as Ctrl+Z, Alt+E, etc.) are just common conventions and are not handled by the operating system. Whether such commands are implemented (or not) depends on how an actual application program (such as an editor) is written and the frameworks used. Not all applications/frameworks follow (all of) these conventions, so if it doesn't work, it isn't compatible.

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 E shortcut.

Some software (such as KDE) allow their shortcuts to be changed, and the below list contains the defaults.

Action Windows macOS [notes 1] Linux Emacs Vim ChromeOS
File menu Alt+F, orF10thenFCtrl+F2, thenF [notes 2] Alt+FMeta+`, thenfAlt+f (gvim)

or Ctrl+e(vim + NERDTree)

Ctrl+O
Edit menu Alt+ECtrl+F2, thenE [notes 2] Alt+EMeta+`, theneAlt+e (gvim)
View menuAlt+VCtrl+F2, thenV [notes 2] Alt+V
Undo the last operationCtrl+Z, or
Alt+← Backspace
⌘ Cmd+ZCtrl+ZCtrl+x, thenuor

Ctrl+/or
Ctrl+_or
Undo

uCtrl+Z
Redo the last operationCtrl+Y, orAlt+Shift+Backspace⇧ Shift+⌘ Cmd+ZCtrl+⇧ Shift+Z, orCtrl+Y
Same as undo, when undo is exhausted, it redoes. Move the cursor after one or more undos, and further undos will be redos.

Since version 28, also Ctrl+?

or Ctrl+Alt+_.
Ctrl+rCtrl+⇧ Shift+Z
Cut the selection and store it in the clipboard Ctrl+X, or⇧ Shift+ Del ⌘ Cmd+XCtrl+XCtrl+wx

or"axto cut in register "a"or"+xto cut in system clipboard

Ctrl+X
Copy the selection into the clipboard Ctrl+C, orCtrl+ Ins ⌘ Cmd+CCtrl+CMeta+w, orCtrl+Insy

or"ayor"+y

Ctrl+C
Paste contents of clipboard at cursor Ctrl+V,or⇧ Shift+Ins⌘ Cmd+VCtrl+VCtrl+y, or⇧ Shift+Insp

or"apto paste the content of the "a" registeror"+pto paste the content of the system clipboard

Ctrl+V
Paste special⊞ Win+VShift+Opt+Cmd+VCtrl+⇧ Shift+VMeta+yCtrl+⇧ Shift+VSearch+V
Select all in focused control or windowCtrl+A⌘ Cmd+ACtrl+ACtrl+x, thenhggVG, 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:%yCtrl+A
Cycle through installed keyboard languages / input methods Alt+⇧ Shift, Ctrl+⇧ Shift, ⊞ Win+Space, ⊞ Win+⇧ Shift+Space

Alt+⇧ Shift changes between languages while Ctrl+⇧ Shift changes between keyboard layouts of the same language. The latter two display a menu with the currently selected input method highlighted, and debuted in Windows 8. ⊞ Win+⇧ Shift+Space goes through the list backwards. For the first two shortcuts going backwards is done by using the right ⇧ Shift key instead of the left.

⌘ Cmd+Space

(not MBR)

Configure desired keypress in Keyboard and Mouse Preferences, Keyboard Shortcuts, Select the next source in Input menu. [1]

Ctrl+Alt+Kvia KDE Keyboard

Alt+⇧ Shiftin GNOME

Ctrl+\Ctrl+Space
PrintCtrl+P⌘ Cmd+PCtrl+PCtrl+P
Open Help MenuF1in GNOMECtrl+Alt+/
Windows Mobility CenterWindows 7: ⊞ Win+x

Windows 10:
⊞ Win+x then b

PowerUser (WinX) MenuWindows 10: ⊞ Win+x
Restart Video DriverWindows 10: Ctrl+⇧ Shift+⊞ Win+B [2] [3]

System navigation

Action Windows macOS [notes 1] Linux ChromeOS
Lock desktop⊞ Win+L [4] Ctrl+⌘ Cmd+Q [5] (macOS High Sierra and greater)
orCtrl+⇧ Shift+Ejector MBRCtrl+⇧ Shift+Pwr

(If "Require password after sleep or screen saver" is enabled in "System Preferences — Security & Privacy")

Super+L(GNOME) [6] orCtrl+Alt+LSearch+L
Log out user⇧ Shift+⌘ Cmd+Q Ctrl+Alt+Delete Ctrl+⇧ Shift+Q (Twice)
Switch active user⊞ Win+L [notes 3]
Applications menu⊞ Winor
Ctrl+Esc
Ctrl+F2, then"n" [notes 2] Superor
Ctrl+Esc
Search
Run application⊞ Win, enter executable name or

⊞ Win+R, enter executable name

⌘ Cmd+Space, enter executable name or⌘ Cmd+Alt+F2, enter executable name
Search⊞ Win, enter executable name or
⊞ Win+SorF3
⌘ Cmd+SpaceSearch
Show desktop⊞ Win+DF11Ctrl+Alt+D
Access SysTray⊞ Win+B⇧ Shift+Alt+S
Switch window (next/previous)Alt+Tab ↹ /

⇧ Shift+Alt+Tab ↹

⌘ Cmd+Tab ↹ /

⌘ Cmd+⇧ Shift+Tab ↹
(While in app switching window, ⌘ Cmd+` can be used to select backward, ⌘ Cmd+1 can be used to view selected app's windows)

Alt+Tab ↹ /

Alt+⇧ Shift+Tab ↹

Hold Alt, then quickly press Tab ↹
Switch window without dialog (next/previous)Alt+Esc /

⇧ Shift+Alt+Esc

Only works within single Applications

⌘ Cmd+` / ⌘ Cmd+⇧ Shift+`

Task manager Ctrl+⇧ Shift+Esc,
Ctrl+Alt+Delete [notes 4]
⌥ Opt+⌘ Cmd+Esc
(summons "Force Quit Applications" window)
Search+Esc
File manager⊞ Win+ESuper+F⇧ Shift+Alt+M
New folderCtrl+⇧ Shift+N⇧ Shift+⌘ Cmd+NCtrl+⇧ Shift+NCtrl+E
Rename objectF2↵ Enter [notes 5] orF2F2Ctrl+↵ Enter
Show hidden filesAlt+V, thenH, thenH again, while in File Explorer, will toggle setting⇧ Shift+⌘ Cmd+., while in Finder, will toggle settingCtrl+H, Alt+.in KDECtrl+.

Power management

Action Windows macOS Linux ChromeOS
Place computer into sleep/standby modeWindows 10: ⊞ Win+x > u > s

Windows 7: ⊞ Win+++↵ Enter

Sleep(available on some keyboards)

⌥ Opt+⌘ Cmd+EjectSleep(available on some keyboards, configurable in Control Panel ➢ Power Options ➢ Advanced tab dialog box)
Shut down computerWindows 10: ⊞ Win+x > u > uCtrl+⌥ Opt+⌘ Cmd+Eject

(no confirmation, shutdown is immediate)

Ctrl+Alt+⇧ Shift+PageDown

(KDE; no confirmation, shutdown is immediate)(GNOME; there is no default shortcut) [6]

Power (Hold for 10 seconds)
Restart computerWindows 10: ⊞ Win+x > u > r
Windows 7: ⊞ Win++++↵ Enter
Ctrl+⌘ Cmd+Eject [7] or Ctrl+⌘ Cmd+Power

(no confirmation, restart is immediate)

Ctrl+Alt+⇧ Shift+PageUp

(KDE; no confirmation, restart is immediate)

Place display in sleep modeCtrl+⇧ Shift+Ejectwhere is lined
Bring up power/sleep dialog boxCtrl+Eject
Force shutdownPower (Hold for several seconds)⌥ Opt+⌘ Cmd+Ejectrefresh+power

Screenshots

Action Windows macOS Linux ChromeOS
Save screenshot of entire screen as file⊞ Win+Print Screen⇧ Shift+⌘ Cmd+3 [8] Print Screen [9] Ctrl+Show Windows
Copy screenshot of entire screen to clipboard⊞ Win+Print ScreenorPrint ScreenCtrl+⇧ Shift+⌘ Cmd+3Ctrl+Print ScreenCtrl+Show Windows
Copy screenshot of active window to clipboardAlt+Print ScreenCtrl+Alt+Print Screen
Save screenshot of window as file⇧ Shift+⌘ Cmd+4thenSpacethen move mouse and clickAlt+Print Screenset the name and click "Save". GNOME [9] Ctrl+Alt+Show Windows then move mouse and click
Copy screenshot of window to clipboardCtrl+⇧ Shift+⌘ Cmd+4thenSpacethen move mouse and clickAlt+Print Screenclick "Copy to Clipboard". GNOME [9] Ctrl+Alt+Show Windows then move mouse and click
Save screenshot of arbitrary area as file⇧ Shift+⌘ Cmd+4then click+drag mouse over required area⇧ Shift+Print Screenset the name and click "Save". GNOME [9] Ctrl+⇧ Shift+Show Windows then click+drag mouse over required area
Copy screenshot of arbitrary area to clipboard (Snip)Windows 10: ⊞ Win+⇧ Shift+SCtrl+⇧ Shift+⌘ Cmd+4then click+drag mouse over required area⇧ Shift+Print Screenclick "Copy to Clipboard". GNOME [9] Ctrl+⇧ Shift+Show Windows then click+drag mouse over required area
ScreencastingCtrl+Alt+⇧ Shift+R [10] [11] Ctrl+⇧ Shift+Show Windows then select the Screen Record button on the toolbar
Screenshot Utility⇧ Shift+⌘ Cmd+5 [12] Ctrl+⇧ Shift+Show Windows

Text editing

Many of these commands may be combined with ⇧ Shift to select a region of text. [notes 6]

In macOS, holding ⌘ Command while dragging mouse can be used to invert selection, and holding ⌥ Option can be used to select by rectangular area in some apps(These two functionalities may be combined).

In macOS, the default text editing keyboard shortcuts in Cocoa text views can be overridden and new custom shortcuts can be created, by creating and editing related configuration files. [13] [notes 7]

Action Windows macOS [notes 1] Linux Emacs Vim ChromeOS
Delete char to the right of cursorDelor

Fn+← Backspace

Delor

Fn+← Backspaceor
Ctrl+D

DelCtrl+dxAlt+← Backspace or Search+← Backspace or Del
Delete word to the right of cursorCtrl+Del⌥ Opt+Delor

⌥ Opt+Fn+← Backspace

Ctrl+DelMeta+ddw
(delete space too)or

de(keep space)

Ctrl+Search+← Backspace
Delete word to the left of cursorCtrl+← Backspace⌥ Opt+← BackspaceCtrl+← BackspaceCtrl+← Backspace or

Meta+← Backspace

dge
(delete space too)or

db(keep space)

Ctrl+← Backspace
Go to start of lineHomeor

Fn+

⌘ Cmd+
(go to start of line)
or

Ctrl+A
(go to start of paragraph)

HomeCtrl+aor

Home

^
(go to first non-space) or
0
(go to column 0)
Search+
Go to end of lineEndor

Fn+

⌘ Cmd+
(go to end of line)
or

Ctrl+E
(go to end of paragraph)

EndCtrl+e
or

End

$Search+
Go to start of documentCtrl+Home⌘ Cmd+Ctrl+HomeMeta+<or

Ctrl+Home

ggCtrl+Search+
Go to end of documentCtrl+End⌘ Cmd+Ctrl+EndMeta+>or

Ctrl+End

GCtrl+Search+
Go to previous wordCtrl+or

Ctrl+/

⌥ Opt+or

Ctrl+⌥ Opt+B

Ctrl+Meta+bor

Ctrl+or
Meta+

bor
ge
Ctrl+
Go to next wordCtrl+⌥ Opt+or

Ctrl+⌥ Opt+F

Ctrl+Meta+for

Ctrl+or
Meta+

woreCtrl+
Go to previous lineor
Ctrl+p
Ctrl+porkor
Go to next lineor
Ctrl+n
Ctrl+norjor
Go to previous line break (paragraph)Ctrl+⌥ Opt+Ctrl+
(kword or GNOME)
Meta+(orControl+(Ctrl+
Go to next line breakCtrl+⌥ Opt+Ctrl+
(kword or GNOME)
Meta+}or
Control+
)Ctrl+
Move the cursor down the length of the viewportPage Down⌥ Opt+PageDnor

⌥ Opt+Fn+or
Ctrl+V

Page DownCtrl+vor

Page Down

Ctrl+for

Page Down

Search+
Move the cursor up the length of the viewportPage Up⌥ Opt+PageUpor

⌥ Opt+Fn+

Page UpMeta+vor

Page Up

Ctrl+bor

Page Up

Search+
FindCtrl+F⌘ Cmd+F
or

⌘ Cmd+E
(search with current selection)

Ctrl+F

Ctrl+K(GNOME; interactive search)

Ctrl+s/Ctrl+F
Go to next search resultF3⌘ Cmd+GCtrl+G(GNOME) or

F3(KDE) [14]

Ctrl+snCtrl+G or ↵ Enter
Go to previous search result⇧ Shift+F3⇧ Shift+⌘ Cmd+GCtrl+⇧ Shift+G (GNOME) or

⇧ Shift+F3(KDE) [14]

Ctrl+rNCtrl+⇧ Shift+G or ⇧ Shift+↵ Enter
Search and replaceCtrl+H⌘ Cmd+FCtrl+H(GNOME) or

Ctrl+R(KDE)

Meta+%%s/fosh/fish/gc [notes 8] Ctrl+⇧ Shift+H
Search with a regular expression Ctrl+Meta+sAll searches use regular expressions.
Search and replace with a regular expressionCtrl+Meta+%
Emoji Picker⊞ Win+.or
⊞ Win+;
Ctrl+⌘ Cmd+SpaceSearch+⇧ Shift+Space

Text formatting

Action Windows WordPad macOS [notes 1] Linux [15] Emacs Vim
BoldCtrl+B⌘ Cmd+BCtrl+BMeta+o, then b
UnderlineCtrl+U⌘ Cmd+UCtrl+UMeta+o, then u
ItalicCtrl+I⌘ Cmd+ICtrl+IMeta+o, then i
Uppercase / LowercaseCtrl+⇧ Shift+A⌥ Opt+⌘ Cmd+C⇧ Shift+F3Meta+u for upper,

Meta+l for lower, Meta+c for capitalized.

gU for upper, gu for lower, ~ to toggle.
SuperscriptCtrl+⇧ Shift+=Ctrl+⌘ Cmd++ (some applications only)Ctrl+⇧ Shift+P [16]
SubscriptCtrl+=Ctrl+⌘ Cmd+- (some applications only)Ctrl+⇧ Shift+B [16]
Selected text larger/smallerCtrl+>, Ctrl+<

or
Ctrl+[, Ctrl/core+]

⌘ Cmd++
⌘ Cmd+-
Selected text Bullets or Numbered ItemsCtrl+⇧ Shift+L
Insert Linebreak/NewlineCtrl+↵ Enter⇧ Shift+↵ Enter [notes 5]

or
Ctrl+↵ Enter
or
⌥ Opt+↵ Enter [notes 5]
(may be able to skip some editor defined input processing)

Ctrl+↵ Enter
Insert Unicode Alt+X + character codepoint⌥ Opt + character codepoint
("Unicode Hex Input" must be added and active as current input source)
Ctrl+⇧ Shift+U + character codepointCtrl+v+u + character codepointCtrl+X+8 + character codepoint

Browsers / Go menu

Action Windows macOS Linux ChromeOS
Go to Address BarCtrl+L / F6 / Alt+D, Alt+C or Alt+E
depending on language
⌘ Cmd+L or ⇧ Shift+⌘ Cmd+GCtrl+L or Alt+D or F6Ctrl+L or Alt+D
Go to the previous location in history [17] Alt+ or ← Backspace⌘ Cmd+[ or ⌘ Cmd+Alt+Alt+
Go to the next location in historyAlt+ or ⇧ Shift+← Backspace (web browser only)⌘ Cmd+] or ⌘ Cmd+Alt+Alt+
Go up one level in the navigation hierarchyAlt+ (Vista, 7, 8 or 10 only) or ← Backspace (Windows Explorer)⌘ Cmd+Alt+
Go to the starting page defined by the user or applicationAlt+Home⌘ Cmd+HomeCtrl+Home (KDE) /

Alt+Home (GNOME)

Alt+Search+

Web browsers

Action Windows macOS Linux Emacs-w3m Vimperator ChromeOS
Bookmarks menuCtrl+B⌘ Cmd+B

(Firefox)

Alt+Bv:bmarksCtrl+⇧ Shift+B
URL Shortcuts (Adds www. + .com)Ctrl+↵ Enter⌘ Cmd+↵ Enter [notes 5] (Firefox) or

Ctrl+↵ Enter [notes 5] (Chrome)

Ctrl+↵ EnterCtrl+↵ Enter
URL Shortcuts (Adds www. + .org)⇧ Shift+⌘ Cmd+↵ Enter [notes 5] (Firefox)Ctrl+⇧ Shift+↵ Enter
URL Shortcuts (Adds www. + .net)⇧ Shift+↵ Enter [notes 5] (Firefox)⇧ Shift+↵ Enter
Add bookmark for current pageCtrl+D⌘ Cmd+DCtrl+B /

Ctrl+D

a:bmarkCtrl+D
Add bookmark for current linkMeta+a
Manage bookmarksCtrl+⇧ Shift+O(Microsoft Edge)
or
Ctrl+B(Internet Explorer)
⌘ Cmd+⌥ Opt+B(Chrome/Safari) or

⌘ Cmd+⇧ Shift+B(Firefox)

Ctrl+⇧ Shift+R /

Ctrl+B

Ctrl+⇧ Shift+O
Focus and select Web search barCtrl+E⌘ Cmd+E(Opera) or

⌘ Cmd+K(Firefox) or
⌥ Opt+⌘ Cmd+F(Safari/Chrome)

Ctrl+kt(open in a new tab) or
T(open in current tab)
Ctrl+E or Ctrl+K
Focus and select address barCtrl+Lor

F6or
Alt+D

⌘ Cmd+LCtrl+L or

Alt+D or
F6

gOto alter URL,
useyto copy it.
Ctrl+L or Alt+D
Refresh a webpageFn+F5or

Ctrl+R

⌘ Cmd+RF5or

Ctrl+R

Rr or Ctrl+R
Refresh a webpage ignoring cacheCtrl+F5or

Ctrl+⇧ Shift+R

⌥ Opt+⌘ Cmd+E then ⌘ Cmd+RCtrl+⇧ Shift+F5 or Ctrl+⇧ Shift+RRCtrl+⇧ Shift+R
Open a new windowCtrl+N⌘ Cmd+N
(Chrome, hold shift to open new window in Incognito)
Ctrl+N:winopenCtrl+N
Zoom Options
(zoom in /
zoom out /
zoom 100%)
Ctrl++ /

Ctrl+- /
Ctrl+0

⌘ Cmd++ /

⌘ Cmd+- /
⌘ Cmd+0

Ctrl++ /

Ctrl+- /
Ctrl+0

zi / zo / zz (text only)

or zI / zO / zZ (text and images)

Ctrl++ /

Ctrl+- /
Ctrl+0

Tab management

Action Windows macOS Linux Emacs-w3m Vimperator ChromeOS
New tabCtrl+T⌘ Cmd+TCtrl+⇧ Shift+N or

Ctrl+⇧ Shift+T or
Ctrl+T

Ctrl+c, thenCtrl+ttCtrl+T
Close tabCtrl+W⌘ Cmd+WCtrl+W Firefox [18] & Opera [19] & Chrome [20] & GNOME Web [21] & Midori

Ctrl+F4 Firefox [18] & Opera [19] & Chrome [20]

dCtrl+W
Close all tabs but the current one⌘ Cmd+⌥ Opt+T(Safari)Ctrl+c, then Meta+w
Go to next tabCtrl+Tab ↹Ctrl+Tab ↹or

⌘ Cmd+⇧ Shift+(Safari)

Ctrl+PageDownor

Ctrl+Tab ↹or
Ctrl+.

Ctrl+c, thenCtrl+ngtCtrl+Tab ↹
Go to previous tabCtrl+⇧ Shift+Tab ↹Ctrl+⇧ Shift+Tab ↹ or

⌘ Cmd+⇧ Shift+ (Safari)

Ctrl+PageUpor

Ctrl+⇧ Shift+Tab ↹
or
Ctrl+,

Ctrl+c, thenCtrl+pgTCtrl+⇧ Shift+Tab ↹
Go to tab-n [notes 9] Ctrl+n [notes 9]
(Chrome, Firefox, Internet Explorer)
⌘ Cmd+n [notes 9] (Chrome)Alt+n [notes 9] (Chrome, Firefox) or

Ctrl+n [notes 9] (Chrome)

First tab: g0

Last tab: g$

Ctrl+b
Go to last tabCtrl+9
(Chrome, Firefox, Internet Explorer)
⌘ Cmd+9(Chrome)Alt+9(Chrome, Firefox) or

Ctrl+9(Chrome)

Open a previously closed tabCtrl+⇧ Shift+T⌘ Cmd+⇧ Shift+T
(Firefox, Opera, Chrome)
Ctrl+⇧ Shift+T

(Firefox, Opera, Chrome) [20] [18] [19]

Ctrl+⇧ Shift+T (Firefox) [18] uCtrl+⇧ Shift+T
Open a previously closed windowCtrl+⇧ Shift+N(Firefox) [18] Ctrl+⇧ Shift+T
Close the current internet tabCtrl+W⌘ Cmd+F11Ctrl+W

Window management

Action Windows macOS [notes 1] KDE GNOME Emacs ChromeOS
Force window mode (Application requires functionality for set action)0+↵ Enter⌥ Opt+Alt+↵ Enter [notes 5] or ⌥ Option+Alt+F or ⌘ Cmd+F or ⌘ Cmd+⌥ Option+F
Pop up window menuAlt+SpaceAlt+F3Alt+SpaceMeta+`, then b
Close the focused windowAlt+F4 or Alt+Space then C [notes 10] ⌘ Cmd+WAlt+F4Alt+F4Ctrl+x, then kCtrl+W
Close all windows of current application⌘ Cmd+⌥ Opt+WCtrl+⇧ Shift+W
Restore the focused window to its previous sizeAlt+Space then R [notes 10] Alt+F3 then XAlt+F5Ctrl+x, then r, then j, then letter of the window state register.
Move the focused windowAlt+Space then M [notes 10] then Arrow Keys and ↵ Enter (to save new location)Alt+Mouse /

Alt+F3 then M then Arrow Keys

Alt+Mouse /

Alt+F7 then Arrow Keys

Resize the focused windowAlt+Space then S [notes 10] then Arrow Keys and ↵ Enter (to save new size)Alt+F3 then S then Arrow KeysAlt+F8 then Arrow Keys / Alt+Right Mouse Button [notes 11] Ctrl+x, then ^ verticallyAlt+] (snap window to right half of screen), Alt+[ (snap window to left half of screen)
Keep window always on topCtrl+Alt+Esc (toggles on/off)
Hide the focused window⌘ Cmd+HMeta+x, then bury-buffer, then ↵ Enter
Hide all except the focused window⌘ Cmd+⌥ Option+H
Put the focused window furthest back (in tab order and Z axis)Alt+Esc
Minimize the focused windowAlt+Space then N [notes 10] or ⊞ Win+ (Windows Vista Home Premium, Windows 7+)⌘ Cmd+MAlt+F3 then NAlt+F9Meta+x, then bury-buffer, then ↵ EnterAlt+-
Maximize the focused windowAlt+Space then X [notes 10] or ⊞ Win+ (Windows 7+)⌘ Cmd+LAlt+F3 then XAlt+F10Ctrl+x, then 1Alt
Maximize horizontallyAvailable, but no defaultAvailable, but no default
Maximize vertically⊞ Win+⇧ Shift+ (Windows 7+)Available ('Zoom'), but no defaultAvailable, but no defaultAvailable, but no default
Minimize all⊞ Win+M or ⊞ Win+D⌘ Cmd+⌥ Opt+MAvailable, but no defaultCtrl+Alt+D
Minimize all non focused windows⊞ Win+Home (Windows 7+)Available, but no default
Undo minimize all⊞ Win+⇧ Shift+MAvailable, but no defaultCtrl+Alt+D
Switch fullscreen/normal sizeF11 or ⊞ Win+⇧ Shift+↵ Enter (UWP apps only)⌘ Cmd+Ctrl+F or
Fn+F
F11F11Fullscreen
Show the window in full screen mode, with no border, menubar, toolbar or statusbarDepends on application, system default:⌘ Cmd+Ctrl+F and
Fn+F
Ctrl+⇧ Shift+FCtrl+F11
Rollup/down windowAvailable, but no defaultAlt+F12
Show all open windows⊞ Win+Tab ↹F3 or

F9 or Fn+F9 or Move mouse pointer to configured hot corner or active screen corner [22] [23]

⊞ Win works per desktop on Gnome 3+Ctrl+x, then Ctrl+bShow Windows
Show all windows of current application⊞ Win+Tab ↹Ctrl+F3 or

F10 or Move mouse pointer to configured hot corner or active screen corner [22] [23]

Ctrl+`Ctrl+x, then Ctrl+b
Show all workspaces⊞ Win+Tab ↹ (Windows 10)F8 or

Move mouse pointer to configured hot corner or active screen corner [22] [23]

⊞ Win then mouse over the desktop bar on the right edge of the screenShow Windows
Move window to left/right/up/down workspace⊞ Win+/ (Windows 7+)Available, but no defaultCtrl+Alt+⇧ Shift+ / / / ⇧ Shift+Search+[/]
Move window between multiple monitors⊞ Win+⇧ Shift+/ (Windows 7+)Alt+Search+M
Move window to workspace nAvailable, but no default
Switch to next/previous workspace listAvailable, but no default
Go to workspace nCtrl+nCtrl+Fn⇧ Shift+Search+n
Go to left/right/up/down workspace [notes 12] Ctrl+ /

Ctrl+ / Ctrl+ / Ctrl+ (OS X 10.5 to 10.6), Ctrl+ / Ctrl+ (OS X 10.7 and later)

Available, but no defaultCtrl+Alt+ /

/ /

Search+[/]
Quit application of current windowAlt+F4 or Ctrl+F4varies [notes 13] ⌘ Cmd+Q [notes 14] Ctrl+Alt+EscqCtrl+⇧ Shift+W
Close dialogEsc (Laptop)
⊞ Win++F4 (Desktop)
Esc
or sometimes
⌘ Cmd+.
Esc or Ctrl+⇧ Shift+W
Open/Focus (preview) pinned program on the taskbar⊞ Win+(#) where "#" is the position of the program on the Windows Taskbar (Windows 7+)Alt+(#) where "#" is the position of the program on the Shelf
Open new program window of pinned program in Quick Launch⊞ Win+(#) where "#" is the position of the program on the Quick Launch toolbar (Windows Vista, 7+)⌘ Cmd+A+⇧ ShiftAlt+(#) where "#" is the position of the program on the Shelf
Open new program window of the pinned program on the taskbar (if program is already opened)⊞ Win+⇧ Shift+(#) where "#" is the position of the program on the Windows Taskbar (Windows 7+)Alt+(#) where "#" is the position of the program on the Shelf
Focus the first taskbar entry; pressing again will cycle through them⊞ Win+T, then back and forth; hold ⇧ Shift to cycle backwards (Windows 7+)
Peek at the desktop⊞ Win+Space (Windows 7)
⊞ Win+Comma (Windows 8+)
⌘ Cmd+F3 or

F11 or Move mouse pointer to configured hot corner or active screen corner [22] [23]

Bring gadgets to the front of the Z-order and cycle between gadgets⊞ Win+G (Windows Vista,7) or ⊞ Win+Space (Vista only, no cycling)
External display options (mirror, extend desktop, etc.)⊞ Win+P (Windows 7+)Ctrl+Fullscreen

User interface navigation (widgets and controls)

Action Windows macOS [notes 1] KDE GNOME
Moves keyboard focus to next/previous controlTab ↹ / ⇧ Shift+Tab ↹Tab ↹ / ⇧ Shift+Tab ↹ [notes 2] Tab ↹ / ⇧ Shift+Tab ↹Tab ↹ / ⇧ Shift+Tab ↹

Ctrl+Tab ↹ / Ctrl+⇧ Shift+Tab ↹

Pop up tooltip for currently focused control⇧ Shift+F1Ctrl+F1
Show context-sensitive help for currently focused window or control⇧ Shift+F1⌘ Cmd+?⇧ Shift+F1⇧ Shift+F1
Give focus to next/previous paneCtrl+F6 / Alt+F5⌘ Cmd+`
⌘ Cmd+⇧ Shift+`
F5 / Alt+F6
Give focus to splitter bar in paned windowF8
Give focus to window's menu bar F10 or Alt⌘ Cmd+⇧ Shift+/, then type command name, or
Ctrl+F2 (or Fn+Ctrl+F2 on some keyboards) [notes 2]
AltF10
Pop up contextual menu for currently selected objects (aka context menu)⇧ Shift+F10 or ≣ MenuVaries with laptop / extended keyboard type; enable Mouse keys in Universal Access, then Fn+Ctrl+5 or

Ctrl+5 (numeric keypad) or Function+Ctrl+I (laptop)

≣ Menu≣ Menu or ⇧ Shift+F10
Toggle selected state of focused checkbox, radio button, or toggle buttonSpaceSpaceSpaceSpace
Activate focused button, menu item etc.↵ EnterSpace (also ↵ Enter [notes 5] for menu items)↵ Enter↵ Enter
Expand a drop-down listF4 or Alt+
Select/move to first/last item in selected widgetHome / EndHome / End
Scroll selected view by one page up/left/down/rightPageUp / PageDown

( Fn+ / Fn+ )

PageUp / Ctrl+PageUp /
PageDown / Ctrl+PageDown
Scroll selected view to top/bottomHome / End

( Fn+ / Fn+ )

Switch focus to the next/previous tab/view within a windowCtrl+Tab ↹Ctrl+Tab ↹

Ctrl+⇧ Shift+Tab ↹

Ctrl+Tab ↹ ->

Ctrl+⇧ Shift+Tab ↹ <-

Switch focus to the next/previous panel on the desktopCtrl+Alt+Tab ↹ / Ctrl+Alt+⇧ Shift+Tab ↹
Switch focus to the next/previous panel (without dialog)Ctrl+Alt+Esc /

Ctrl+Alt+⇧ Shift+Esc

Command line shortcuts

Below is a list of common keyboard shortcuts that are used in a command line environment. Bash and Z shell keybindings are derived from Emacs text editing bindings.

ActionWindows
(cmd.exe)
Windows
(PowerShell)
Unix-like
(bash, zsh)
Unix-like
(POSIX-compliant shell)
Scroll through history of typed commands/// or Ctrl+P/Ctrl+NESC K / ESC J
Signal end-of-file Ctrl+ZCtrl+D
Abort current command/typingCtrl+CCtrl+CCtrl+CCtrl+C
Erase word to the leftCtrl+← BackspaceCtrl+← BackspaceCtrl+W or Esc+← Backspace
Erase word to the rightCtrl+DeleteCtrl+DeleteAlt+D
Erase line to the leftCtrl+HomeCtrl+HomeCtrl+U
Erase line to the rightCtrl+EndCtrl+EndCtrl+K
Yank/paste previously erased stringCtrl+Y
Move one word to the left (backward)Ctrl+Ctrl+Alt+B
Move one word to the right (forward)Ctrl+Ctrl+Alt+F
Move to beginning of lineHomeHomeCtrl+A

or Home

Move to end of lineEndEndCtrl+E

or End

Reverse search of historyF8F8Ctrl+R
Pause execution of the current jobCtrl+Z
Insert the next character typed verbatimCtrl+V
Autocomplete command/file nameTab ↹ (enabled by default in Windows XP and later)Tab ↹Tab ↹ (usually once)Esc (usually twice)
Paste contents of clipboard at cursor Alt+Space then E [notes 10] then PCtrl+V⇧ Shift+Ins
Scroll window up⇧ Shift+PageUp (may not work in some versions of Windows XP)PageUp⇧ Shift+PageUp
Scroll window down⇧ Shift+PageDown (may not work in some versions of Windows XP)PageDown⇧ Shift+PageDown
Clear screenCtrl+L

Accessibility

Action Windows macOS KDE GNOME
Utility Manager⊞ Win+U
Use keyboard to control cursor Left Alt+Left Shift+Numlock [24]
Allow user to press shortcuts one key at a time ⇧ Shiftpress 5 times⇧ Shift5 times [25]
Hear beep when -lock key pressed Numlockhold 5 seconds
Stop/slow repeating characters when key is pressed Right Shifthold 8 seconds⇧ Shifthold for 8 seconds [26] [27] [28]
Inverse (Reverse Colors) ModeLeft Alt+Left Shift+PrtScn⌘ Cmd+⌥ Opt+Ctrl+8Meta+⇧ Shift+i (if enabled)
Inverse (Reverse Colors) Mode (Only current window)Meta+⇧ Shift+u (if enabled)
Accessibility Shortcut [notes 15] Ctrl+⊞ Win+C

See also

Notes

  1. 1 2 3 4 5 6 Highlighted shortcuts are from the list of "sacred" keybindings.
  2. 1 2 3 4 5 6 Requires full keyboard access active:
    Apple logo black.svg (The Apple menu) > System Preferences > Keyboard > Keyboard Shortcuts > Full Keyboard Access > All Controls
    Alternatively use Ctrl+F7 to toggle this setting.
  3. Takes you to the "Switch User" screen when Fast User Switching has been enabled (enabled by default in XP).
  4. Shows task manager in Windows XP if the welcome screen is enabled. Otherwise displays an NT-style menu, with the option of launching the task manager; likewise for Vista.
  5. 1 2 3 4 5 6 7 8 9 On Mac OS, OS X, and macOS, the key commonly called ↵ Enter is properly called ↩ Return, while ⌅ Enter is a separate key normally located on the numeric keypad or invoked as ⌥ Opt+↩ Return (mainly on keyboards without a numeric keypad).
  6. For the concept of "selected text" see also X Window selection
  7. A full list of all default Cocoa textview key bindings can be dumped by executing this command in Terminal.app: plutil -p /System/Library/Frameworks/AppKit.framework/Resources/StandardKeyBinding.dict
  8. In whole document (%), substitute (s) fosh by fish, don't stop at one substitution per line (g) and ask for confirmation for each substitution (c).
  9. 1 2 3 4 5 n is a number between 1 and 8
  10. 1 2 3 4 5 6 7 In Microsoft Windows, all shortcuts with Alt+Space followed by another key are language dependent. The Alt+Space combination opens the window menu, and the following key selects from the menu. As the menu labels (and their underlined hotkeys) vary with the Windows system language, the hotkeys are different for international versions of Microsoft Windows, and may change if users change their Windows system language preference. The given examples are valid for English user preferences/version of Windows.
  11. Needs to be activated first on some distributions.
  12. The WinSplit window manager application for Windows knows to emulate this behaviour.
  13. There is no single consistent shortcut for closing a document or quitting an application in Windows XP. In many multiple document interface applications, Ctrl+W or Ctrl+F4 closes a document and Alt+F4 quits. In other applications where each document is in its own window, such as later versions of Microsoft Word, Ctrl+W, Ctrl+F4, and Alt+F4 close a document, and there is no consistent shortcut for quitting an application.
  14. macOS uses ⌘ Cmd+W Close (window), ⌘ Cmd+Q Quit (application), and ⌘ Cmd+⌥ Opt+Esc Force Quit (application); ⌥ Option+F4 can be used to quit certain services or applications. Quit is closest to Kill.
  15. This can be set as Greyscale, Invert Colours, Magnifier and more in Ease of Access settings

Related Research Articles

In computing, a modifier key is a special key on a computer keyboard that temporarily modifies the normal action of another key when pressed together. By themselves, modifier keys usually do nothing; that is, pressing any of the ⇧ Shift, Alt, or Ctrl keys alone does not (generally) trigger any action from the computer.

<span class="mw-page-title-main">Control key</span> Key on computer keyboards

In computing, a Control keyCtrl is a modifier key which, when pressed in conjunction with another key, performs a special operation. Similarly to the Shift key, the Control key rarely performs any function when pressed by itself. The Control key is located on or near the bottom left side of most keyboards, with many featuring an additional one at the bottom right.

<span class="mw-page-title-main">Function key</span> Key on a computer or terminal keyboard

A function key is a key on a computer or terminal keyboard that can be programmed to cause the operating system or an application program to perform certain actions, a form of soft key. On some keyboards/computers, function keys may have default actions, accessible on power-on.

<span class="mw-page-title-main">Keyboard shortcut</span> Series of computer keys to quickly invoke a software program or perform a preprogrammed action

In computing, a keyboard shortcut also known as hotkey is a series of one or several keys to quickly invoke a software program or perform a preprogrammed action. This action may be part of the standard functionality of the operating system or application program, or it may have been written by the user in a scripting language. Some integrated keyboards also include pointing devices; the definition of exactly what counts as a "key" sometimes differs.

The taskbar is a graphical user interface element that has been part of Microsoft Windows since Windows 95, displaying and facilitating switching between running programs. The taskbar and the associated Start Menu were created and named in 1993 by Daniel Oran, a program manager at Microsoft who had previously collaborated on great ape language research with the behavioral psychologist B.F. Skinner at Harvard.

<span class="mw-page-title-main">Windows key</span> Keyboard key

The Windows logo key is a keyboard key which was originally introduced on Microsoft's Natural Keyboard in 1994. This key became a standard key on PC keyboards. In Windows, pressing the key brings up the start menu. Ctrl+Esc performs the same function, in case the keyboard lacks this key.

<span class="mw-page-title-main">Alt key</span> Computer key

The Alt keyAlt on a computer keyboard is used to change (alternate) the function of other pressed keys. Thus, the Alt key is a modifier key, used in a similar fashion to the Shift key. For example, simply pressing A will type the letter 'a', but holding down the Alt key while pressing A will cause the computer to perform an Alt+A function, which varies from program to program. The international standard ISO/IEC 9995-2 calls it Alternate key. The key is located on either side of the space bar, but in non-US PC keyboard layouts, rather than a second Alt key, there is an 'Alt Gr' key to the right of the space bar. Both placements are in accordance with ISO/IEC 9995-2. With some keyboard mappings, the right Alt key can be reconfigured to function as an AltGr key although not engraved as such.

Common User Access (CUA) is a standard for user interfaces to operating systems and computer programs. It was developed by IBM and first published in 1987 as part of their Systems Application Architecture. Used originally in the MVS/ESA, VM/CMS, OS/400, OS/2 and Microsoft Windows operating systems, parts of the CUA standard are now implemented in programs for other operating systems, including variants of Unix. It is also used by Java AWT and Swing.

<span class="mw-page-title-main">Window manager</span> Type of system software

A window manager is system software that controls the placement and appearance of windows within a windowing system in a graphical user interface. Most window managers are designed to help provide a desktop environment. They work in conjunction with the underlying graphical system that provides required functionality—support for graphics hardware, pointing devices, and a keyboard—and are often written and created using a widget toolkit.

Print Screen is a key present on most PC keyboards. It is typically situated in the same section as the break key and scroll lock key. The print screen may share the same key as system request.

The Command key, , formerly also known as the Apple key or open Apple key, is a modifier key present on Apple keyboards. The Command key's purpose is to allow the user to enter keyboard commands in applications and in the system. An "extended" Macintosh keyboard—the most common type—has two command keys, one on each side of the space bar; some compact keyboards have one only on the left.

<span class="mw-page-title-main">Option key</span> Modifier key present on Apple keyboards

The Option key, , is a modifier key present on Apple keyboards. It is located between the Control key and the Command key on a typical Mac keyboard. There are two Option keys on modern Mac desktop and notebook keyboards, one on each side of the space bar.

The Start menu is a graphical user interface element that has been part of Microsoft Windows since Windows 95, providing a means of opening programs and performing other functions in the Windows shell. The Start menu, and the Taskbar on which it appears, were created and named in 1993 by Daniel Oran, a program manager at Microsoft who had previously collaborated on great ape language research with the behavioral psychologist B.F. Skinner at Harvard.

A menu bar is a graphical control element which contains drop-down menus.

Alt+Tab ↹ is the common name for a keyboard shortcut that has been in Microsoft Windows since Windows 2.0 (1987). This shortcut switches between application-level windows without using the mouse; hence it was named Task Switcher.

<span class="mw-page-title-main">Hebrew keyboard</span> Keyboard layout

A Hebrew keyboard comes in two different keyboard layouts. Most Hebrew keyboards are bilingual, with Latin characters, usually in a US Qwerty layout. Trilingual keyboard options also exist, with the third script being Arabic or Russian, due to the sizable Arabic- and Russian-speaking populations in Israel.

<span class="mw-page-title-main">Run command</span>

The Run command on an operating system such as Microsoft Windows and Unix-like systems is used to directly open an application or document whose path is known.

Super key (❖) is an alternative and older name for what is commonly labelled as the Windows key or Command key on modern keyboards, typically bound and handled as such by Linux and BSD operating systems and software today.

<span class="mw-page-title-main">Unicode input</span> Input characters using their Unicode code points

Unicode input is the insertion of a specific Unicode character on a computer by a user; it is a common way to input characters not directly supported by a physical keyboard. Unicode characters can be produced either by selecting them from a display or by typing a certain sequence of keys on a physical keyboard. In addition, a character produced by one of these methods in one web page or document can be copied into another. In contrast to ASCII's 96 element character set, Unicode encodes hundreds of thousands of graphemes (characters) from almost all of the world's written languages and many other signs and symbols besides.

Control-Alt-Delete is a computer keyboard command on IBM PC compatible computers, invoked by pressing the Delete key while holding the Control and Alt keys: Ctrl+Alt+Delete. The function of the key combination differs depending on the context but it generally interrupts or facilitates interrupting a function. For instance, in pre-boot environment or in MS-DOS, Windows 3.0 and earlier versions of Windows or OS/2, the key combination reboots the computer. Starting with Windows 95, the key combination invokes a task manager or security related component that facilitates ending a Windows session or killing a frozen application.

References

  1. "Mac 101: Set your preferences". Article: HT2490. Apple Inc. Retrieved 2010-11-03.
  2. Hoffman, Chris (May 4, 2018). "Secret Windows Hotkey Restarts Your Graphics Card Drivers". howtogeek.com. How-To Geek LLC. Retrieved January 20, 2021.
  3. Chen, Kent (May 7, 2018). "Windows 10 Tip: How To Restart Video Driver without Rebooting Computer". nextofwindows.com. Next of Windows. Retrieved January 20, 2021.
  4. Singh, Swapnil (2012-02-08). "10 Cool Windows Shortcuts You Need to Know". Tricktactoe.com. Retrieved 2012-09-20.
  5. Tate, Jody (2017-09-27). "High Sierra 10.13 : Keychain Access Menubar Item Missing?". StackExchange.com. Retrieved 2018-01-22.
  6. 1 2 "Set keyboard shortcuts". GNOME Help. The GNOME Project. Retrieved 2023-06-28.
  7. "Mac keyboard shortcuts". Article: HT201236. Apple Inc. Retrieved 2020-01-02.
  8. "How to take a screenshot on your Mac". Article: HT201361. Apple Inc. Retrieved 2020-01-02.
  9. 1 2 3 4 5 "Taking Screenshots". User Guide 2.32. The GNOME Project. Archived from the original on 9 June 2012. Retrieved 24 March 2012.
  10. "Screencast Recording". GNOME Cheat Sheet. The GNOME Project. Retrieved 20 April 2016.
  11. "Screen Shot Record". GNOME Help Guide. The GNOME Project. Retrieved 24 March 2012.
  12. "What's New in macOS Mojave - Screenshots". Apple. Retrieved 18 April 2019.
  13. "Text System Defaults and Key Bindings". Apple Developer Documentation Archive. September 9, 2013. Archived from the original on March 10, 2024. Retrieved 2024-01-18.
  14. 1 2 "HIG/Keyboard Shortcuts". KDE Techbase. KDE . Retrieved 2020-01-02.
  15. "Appendix A — Keyboard Shortcuts". Libre Office Documentation. The Document Foundation. Retrieved 26 April 2012.
  16. 1 2 Linux Mint Community. "OpenOffice.org and LibreOffice keyboard shortcuts". Community.LinuxMint.com. Retrieved 2012-09-20.
  17. "Browser Shortcuts". Mirus IT. Retrieved 17 July 2015.
  18. 1 2 3 4 5 "Keyboard shortcuts — Firefox Help". Support.mozilla.org. Retrieved 2020-01-02.
  19. 1 2 3 "Keyboard shortcuts — Opera Help". Help.opera.com. Retrieved 2020-01-02.
  20. 1 2 3 "Keyboard shortcuts — Google Chrome Help". Support.google.com. Retrieved 2020-01-02.
  21. "Shortcuts". Library.gnome.org. Retrieved 2012-09-20.
  22. 1 2 3 4 "Mac OS X 10.6 Help: Using a screen saver". Docs.info.apple.com. Retrieved 2011-01-03.
  23. 1 2 3 4 "Mac OS X 10.4 Help: Setting a hot corner for Dashboard". Docs.info.apple.com. Retrieved 2011-01-03.
  24. "Click and Move Mouse Pointer Using the Keypad". GNOME Library. GNOME Foundation. Retrieved 8 May 2012.
  25. "Turn on Sticky Keys". GNOME Library. GNOME Foundation. Retrieved 8 May 2012.
  26. "Turn On Slow Keys". GNOME Library. GNOME Foundation. Retrieved 8 May 2012.
  27. "Turn Off Repeated Key Presses". GNOME Library. GNOME Foundation. Retrieved 8 May 2012.
  28. "Turn On Bounce Keys". GNOME Library. GNOME Foundation. Retrieved 8 May 2012.