Skip to content
Surf Wiki
Save to docs
general/user-interface-techniques

From Surf Wiki (app.surf) — the open knowledge base

Table of keyboard shortcuts

none


none

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 (indicated in the tables below by the *+* sign). Keyboard shortcuts may depend on the keyboard layout.

Comparison of keyboard shortcuts

Main article: Keyboard shortcut

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

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

ActionWindowsmacOSLinuxEmacsVimChromeOSFile menuEdit menuView menuUndo the last operationRedo the last operationCut the selection and store it in the clipboardCopy the selection into the clipboardPaste contents of clipboard at cursorPaste specialSelect all in focused control or windowCycle through installed keyboard languages / input methodsPrintOpen Help MenuWindows Mobility CenterPowerUser (WinX) MenuRestart Video Driver
, or then, then, then(gvim)
, then, then(gvim)
, then
, or
, then or
**, or **, or{{smalldiv1=Same as undo, when undo is exhausted, it redoes. Move the cursor after one or more undos, and further undos will be redos.
[](ctrl-x), or
[](ctrl-c), or, or
[](ctrl-v),or, or
, 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
, , , changes between languages while 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. goes through the list backwards. For the first two shortcuts going backwards is done by using the right key instead of the left.or on older devicesvia KDE Keyboard
in GNOME
Windows 7:
Windows 10:
Windows 10:

System navigation

ActionWindowsmacOSLinuxChromeOSLock desktopLog out userSwitch active userApplications menuRun applicationSearchShow desktopAccess SysTraySwitch window (next/previous)Switch window without dialog (next/previous)Task managerFile managerNew folderRename objectShow hidden filesChange input orientation of "Search programs and files" field in Start MenuMagnifier for Windows 7
(macOS High Sierra and greater)
or or MBR(GNOME) or
[](control-alt-delete)(Twice)
or
, thenor
, enter executable name or
, enter executable name or, enter executable name
, enter executable name,
, or ,(Gnome)
or
///Hold , then quickly press
/Only works within single Applications
,
[](control-alt-delete)
(summons "Force Quit Applications" window)
or
, then , then again, while in File Explorer, will toggle setting, while in Finder, will toggle setting, in KDE
(left) (right) (center)N/A(Zoom in) (Zoom out)

Power management

ActionWindowsmacOSLinuxChromeOSPlace computer into sleep/standby modeShut down computerRestart computerPlace display in sleep modeBring up power/sleep dialog boxForce shutdown
Windows 10:(available on some keyboards, configurable in Control Panel ➢ Power Options ➢ Advanced tab dialog box)
Windows 10:(Hold for 10 seconds)
Windows 10:
Windows 7:or
where is lined
(Hold for several seconds)or Hold for 10 seconds

Screenshots

ActionWindowsmacOSLinuxChromeOSSave screenshot of entire screen as fileCopy screenshot of entire screen to clipboardCopy screenshot of active window to clipboardSave screenshot of window as fileCopy screenshot of window to clipboardSave screenshot of arbitrary area as fileCopy screenshot of arbitrary area to clipboard (Snip)ScreencastingScreenshot UtilitySave screenshot of the Touch Bar as file
or
then then move mouse and click(GNOME)then move mouse and click
then then move mouse and click(GNOME)then move mouse and click
then click+drag mouse over required areaclick+drag mouse over required area, then (GNOME)then click+drag mouse over required area
Windows 10:then click+drag mouse over required areaclick+drag mouse over required area, then (GNOME)then click+drag mouse over required area
(GNOME)then select the Screen Record button on the toolbar

Text editing

Many of these commands may be combined with to select a region of text.

In macOS, holding while dragging mouse can be used to invert selection, and holding 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.{{cite web|website=Apple Developer Documentation Archive|date=September 9, 2013|url=https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/EventOverview/TextDefaultsBindings/TextDefaultsBindings.html|archive-url=https://web.archive.org/web/20240310213842/https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/EventOverview/TextDefaultsBindings/TextDefaultsBindings.html|archive-date=March 10, 2024|title=Text System Defaults and Key Bindings |access-date=2024-01-18}}

ActionWindowsmacOSLinuxEmacsVimChromeOSDelete char to the right of cursorDelete word to the right of cursorDelete word to the left of cursorGo to start of lineGo to end of lineGo to start of documentGo to end of documentGo to previous wordGo to next wordGo to previous lineGo to next lineGo to previous line break (paragraph)Go to next line breakMove the cursor down the length of the viewportMove the cursor up the length of the viewportFindGo to next search resultGo to previous search resultSearch and replaceSearch with a regular expressionSearch and replace with a regular expressionEmoji Picker
or
or
or or
or
(delete space too) or
or
(delete space too) or
or
(go to start of line)
or
or
(go to first non-space) or
(go to column 0)
or
(go to end of line)
or
or
{{#invoke:keypressMetaor
or
or
or
or
or
or
or
or
or
oror
or
oror
(kword or GNOME)or
(kword or GNOME)or
or
or
or
or
or
or
or
(GNOME) or
or
(GNOME) or
or
(GNOME) or
All searches use regular expressions.
or

Text formatting

ActionWindows WordPadmacOSLinuxEmacsVimBoldUnderlineItalicUppercase / LowercaseSuperscriptSubscriptSelected text larger/smallerSelected text Bullets or Numbered ItemsInsert Linebreak/NewlineInsert Unicode
, then
, then
, then
+for upper,for upper, for lower, to toggle.
(some applications only)
(some applications only)
, {{#invoke:keypressCtrl
+ character codepoint+ character codepoint
("Unicode Hex Input" must be added and active as current input source)+ character codepoint+ + character codepoint+ character codepoint

Browsers / Go menu

ActionWindowsmacOSLinuxChromeOSGo to Address BarGo to the previous location in historyGo to the next location in historyGo up one level in the navigation hierarchyGo to the starting page defined by the user or application
+ / / +, or
depending on languageor+ or + oror
oror
or (web browser only)or
(Vista, 7, 8 or 10 only) or (Windows Explorer)
(KDE) /

Web browsers

ActionWindowsmacOSLinuxEmacs-w3mVimperatorChromeOSBookmarks menuURL Shortcuts (Adds www. + .com)URL Shortcuts (Adds www. + .org)URL Shortcuts (Adds www. + .net)Add bookmark for current pageAdd bookmark for current linkManage bookmarksMove focus to Web search barMove focus to address barRefresh a webpageRefresh a webpage ignoring cacheOpen a new windowZoom Options
(zoom in /
zoom out /
zoom 100%)
(Firefox) or
(Firefox)
(Firefox)
/
(MS Edge/Chrome/Firefox)
or
(Internet Explorer)(Chrome/Safari) or
/
(Opera) or
(open in a new tab) or
(open in current tab)or
or
or
to alter URL,
use to copy it.or
or
or
or
or
thenor
(Chrome, hold shift to open new window in Incognito)
/
/
/
/ / (text only)/

Tab management

ActionWindowsmacOSLinuxEmacs-w3mVimperatorChromeOSNew tabClose tabClose all tabs but the current oneGo to next tabGo to previous tabGo to tab-nHolding Ctrl+Shift+Page Up/Page Down will move the selected tab past multiple tabs to the left/right.Go to last tabMove a tab to the leftMove a tab to the rightOpen a previously closed tabOpen a previously closed window
or
, then
orFirefox & Opera & Chrome & GNOME Web & Midori
(Safari), then
or
or
, then
or
or
, then
(MS Edge,Chrome, Firefox, Internet Explorer)(Chrome)(Chrome, Firefox) or
First tab:
(Chrome, Firefox, Internet Explorer)(Chrome)(Chrome, Firefox) or
(MS Edge,Chrome, Firefox)
(MS Edge,Chrome, Firefox)
(Firefox, Opera, Chrome)
(Firefox)
(Firefox)

Window management

ActionWindowsmacOSKDEGNOMEEmacsChromeOSForce window mode (Application requires functionality for set action)Pop up window menuClose the focused windowClose all windows of current applicationRestore the focused window to its previous sizeMove the focused windowResize the focused windowKeep window always on topHide the focused windowHide all except the focused windowPut the focused window furthest back (in tab order and Z axis)Minimize the focused windowMaximize the focused windowMaximize horizontallyMaximize verticallyMinimize allMinimize all non focused windowsUndo minimize allSwitch fullscreen/normal sizeShow the window in full screen mode, with no border, menubar, toolbar or statusbarShow all open windowsShow all windows of current applicationShow all workspacesMove window to left/right/up/down workspaceMove window between multiple monitorsMove window to workspace nSwitch to next/previous workspace listGo to workspace nGo to left/right/up/down workspaceQuit application of current windowClose dialogOpen/Focus (preview) pinned program on the taskbarOpen new program window of pinned program in Quick LaunchOpen new program window of the pinned program on the taskbar (if program is already opened)Focus the first taskbar entry; pressing again will cycle through themPeek at the desktopBring gadgets to the front of the Z-order and cycle between gadgetsExternal display options (mirror, extend desktop, etc.)
or or or
, then
or then, then
thenthen, then , then , then letter of the window state register.
then then .
Press to save new location and to cancel+Mouse /+Mouse /
then then .
to save new size and to cancelthen thenthen / +Right Mouse Button, then vertically(snap window to right half of screen), (snap window to left half of screen)
(toggles on/off)
(Hides all windows of the currently active application), then bury-buffer, then
then or (Windows Vista Home Premium, Windows 7+)then, then bury-buffer, then
then or (Windows 7+)then, then
*Available, but no default**Available, but no default*
(Windows 7+)*Available ('Zoom'), but no default**Available, but no default**Available, but no default*
(minimize all windows) or (show desktop)*Available, but no default*
(Windows 7+)*Available, but no default*
*Available, but no default*
or (UWP apps only)or
*Depends on application, system default:* and
orworks per desktop on Gnome 3+, then
⊞ Win+Tab ↹or, then
(Windows 10)or
/ (Windows 7+)*Available, but no default*//
/ (Windows 7+)///
*Available, but no default*
*Available, but no default*
/*Available, but no default*//
or *varies*or
(Laptop)
(Desktop)
or sometimes
or
where "#" is the position of the program on the Windows Taskbar (Windows 7+)where "#" is the position of the program on the GNOME Dashwhere "#" is the position of the program on the Shelf
where "#" is the position of the program on the Quick Launch toolbar (Windows Vista, 7+)where "#" is the position of the program on the Shelf
where "#" is the position of the program on the Windows Taskbar (Windows 7+)where "#" is the position of the program on the GNOME Dashwhere "#" is the position of the program on the Shelf
, then back and forth; hold to cycle backwards (Windows 7+)
(Windows 7)
(Windows 8+)or
(Windows Vista,7) or (Vista only, no cycling)
(Windows 7+)

User interface navigation (widgets and controls)

ActionWindowsmacOSKDEGNOMEMoves keyboard focus to next/previous controlPop up tooltip for currently focused controlShow context-sensitive help for currently focused window or controlGive focus to next/previous paneGive focus to splitter bar in paned windowGive focus to window's menu barPop up contextual menu for currently selected objects (aka *context menu*)Toggle selected state of focused checkbox, radio button, or toggle buttonActivate focused button, menu item etc.Expand a drop-down listSelect/move to first/last item in selected widgetScroll selected view by one page up/left/down/rightScroll selected view to top/bottomSwitch focus to the next/previous tab/view within a windowSwitch focus to the next/previous panel on the desktopSwitch focus to the next/previous panel (without dialog)
////
(Not context-sensitive, functionally a "Spotlight" for menu bar items and help topics)
/
/
oror
(or on some keyboards)
orVaries with laptop / extended keyboard type; enable Mouse keys in Universal Access, then oror
(also for menu items)
or
//
/
/ /
/
/
/
/

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 commandsSignal end-of-fileAbort current command/typingErase word to the leftErase word to the rightErase line to the leftErase line to the rightYank/paste previously erased stringMove one word to the left (backward)Move one word to the right (forward)Move to beginning of lineMove to end of lineReverse search of historyPause execution of the current jobInsert the next character typed verbatimAutocomplete command/file namePaste contents of clipboard at cursorScroll window upScroll window downClear screen
/// or //
or
(enabled by default in Windows XP and later)(usually once)(usually twice)
then then
(may not work in some versions of Windows XP)
(may not work in some versions of Windows XP)

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. I have included the links for GNOME in the stead of shortcuts because there aren't shortcuts; having the links not only allows evidence of the lack of system-default shortcut access, but directs one in search of universal access to that access.

ActionWindowsmacOSKDEGNOMEUtility ManagerUse keyboard to control cursorAllow user to press shortcuts one key at a timeHear beep when -lock key pressedStop/slow repeating characters when key is pressedInverse (Reverse Colors) ModeInverse (Reverse Colors) Mode (Only current window)Accessibility ShortcutThis can be set as *Greyscale*, *Invert Colours*, *Magnifier* and more in *Ease of Access* settings
press 5 times5 times
hold 5 seconds
hold 8 secondshold for 8 seconds
(if enabled)
(if enabled)

Notes

References

References

  1. Hoffman, Chris. (May 4, 2018). "Secret Windows Hotkey Restarts Your Graphics Card Drivers". How-To Geek LLC.
  2. Chen, Kent. (May 7, 2018). "Windows 10 Tip: How To Restart Video Driver without Rebooting Computer". Next of Windows.
  3. "Take screenshots or screen recordings on Mac".
  4. "Use keyboard shortcuts to create PowerPoint presentations - Microsoft Support".
  5. "Keyboard shortcuts to select and move text in a document".
  6. "Browser Shortcuts". Mirus IT.
  7. Takes you to the "Switch User" screen when [[Fast user switching. Fast User Switching]] has been enabled (enabled by default in XP).
  8. 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.
  9. Needs to be activated first on some distributions.
  10. In Microsoft Windows, all shortcuts with {{#invoke:key. press. Alt. Space followed by another key are language dependent. The {{#invoke:key. press. 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. The WinSplit window manager application for Windows knows to emulate this behaviour.
  12. There is no single consistent shortcut for closing a document or quitting an application in Windows XP. In many [[multiple document interface]] applications, {{#invoke:key. press. Ctrl. W or {{#invoke:key. press. Ctrl. F4 closes a document and {{#invoke:key. press. Alt. F4 quits. In other applications where each document is in its own window, such as later versions of [[Microsoft Word]], {{#invoke:key. press. Ctrl. W, {{#invoke:key. press. Ctrl. F4, and {{#invoke:key. press. Alt. F4 close a document, and there is no consistent shortcut for quitting an application.
  13. macOS uses {{#invoke:key. press. Cmd. W Close (window), {{#invoke:key. press. Cmd. Q Quit (application), and {{#invoke:key. press. Cmd. Opt. Esc Force Quit (application); {{#invoke:key. press. Option. F4 can be used to quit certain services or applications. Quit is closest to Kill.
  14. For the concept of "selected text" see also [[X Window selection]]
  15. In whole document ({{#invoke:key. press. %), substitute ({{#invoke:key. press. s) ''fosh'' by ''fish'', don't stop at one substitution per line ({{#invoke:key. press. g) and ask for confirmation for each substitution ({{#invoke:key. press. c).
  16. Requires full keyboard access active:
    [[File:Apple logo black.svg. 12px]] (The Apple menu) > System Preferences > Keyboard > Keyboard Shortcuts > Full Keyboard Access > All Controls
    Alternatively use {{#invoke:key. press. Ctrl. F7 to toggle this setting.
  17. "sacred" keybindings]].
  18. On Mac OS, OS X, and macOS, the key commonly called {{#invoke:key. press. Enter is properly called {{#invoke:key. press. ↩ Return, while {{#invoke:key. press. ⌅ Enter is a separate key normally located on the [[numeric keypad]] or invoked as {{#invoke:key. press. Opt. ↩ Return (mainly on keyboards without a numeric keypad).
  19. 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
Info: Wikipedia Source

This article was imported from Wikipedia and is available under the Creative Commons Attribution-ShareAlike 4.0 License. Content has been adapted to SurfDoc format. Original contributors can be found on the article history page.

Want to explore this topic further?

Ask Mako anything about Table of keyboard shortcuts — get instant answers, deeper analysis, and related topics.

Research with Mako

Free with your Surf account

Content sourced from Wikipedia, available under CC BY-SA 4.0.

This content may have been generated or modified by AI. CloudSurf Software LLC is not responsible for the accuracy, completeness, or reliability of AI-generated content. Always verify important information from primary sources.

Report