Keyboard shortcut

From Wikipedia, the free encyclopedia

For Wikipedia keyboard shortcuts, see Wikipedia:Keyboard shortcuts.

A keyboard shortcut (or accelerator key, shortcut key, hot key, key binding, keybinding, key combo, etc.) is a key or set of keys that performs a predefined function. These functions can often be done via some other, more indirect mechanism, such as using a menu, typing a longer command, and/or using a pointing device. By reducing such sequences to a few keystrokes, this can often save the user time, hence "shortcut".

For shortcuts which consist of keys "pressed together", one usually first holds down the modifier key(s), then quickly presses and releases the regular (non-modifier) key, and finally releases the modifier key(s). This distinction is important, as trying to press all the keys simultaneously will frequently either miss some of the modifier keys, or cause unwanted auto-repeat. One exception is shortcuts involving the Esc key, which almost always requires pressing and releasing the Esc key before pressing the next key.

When shortcuts are referred to as key bindings it carries the connotation that the shortcuts are customizable to a user's preference and that program functions may be 'bound' to a different set of keystrokes instead of or in addition to the default. This highlights a difference in philosophy regarding shortcuts. Some systems, typically end-user-oriented systems such as Windows or Macintosh consider standardized shortcuts essential to the environment's ease of use. These systems usually limit a user's ability to change shortcuts, typically requiring a separate, possibly third-party, utility to perform the task. Other systems, typically Unix and related, consider shortcuts to be a user's prerogative, and that they should be changeable to suit individual preference. In most real-world environments, both philosophies co-exist; a core set of 'sacred' shortcuts remain fixed while others, typically involving an otherwise unused modifier key or keys, are under the user's control.

In most GUIs, a program's keyboard shortcuts are discoverable by browsing the program's menus - the shortcut is indicated in the menu choice. There are keyboards, commonly called Specialty Keyboards that have the shortcuts for a particular application already marked on them. These keyboards can help the users learn the shortcuts and improve their speed of using the particular applications.

[edit] Notation

The simplest keyboard shortcuts consist of only one key. For these, one generally just writes out the name of the key, as in the message "Press F1 for Help". The name of the key is sometimes surrounded in brackets or similar characters. For example: [F1] or <F1>. The key name may also be set off using special formatting (bold, italic, all caps, etc.)

Many shortcuts require two or more keys to be pressed together. For these, the usual notation is to list the keys names separated by plus signs or hyphens. For example: "Ctrl+C", "Ctrl-C", or "Ctrl+[C]". The Ctrl key is sometimes indicated by a caret character (^). Thus Ctrl-C is sometimes written as ^C. At times, usually on Unix platforms, the case of the second character is significant - if the character would normally require pressing the Shift key to type, then the Shift key is part of the shortcut e.g. '^C' vs. '^c' or '^@' vs. '^2'.

Some keyboard shortcuts require keys (or sets of keys) to be pressed individually, in sequence. These are generally written with the individual keys (or sets) separated by commas or semicolons. For example "Alt+F, S" or "Alt+F; S" would mean "First press Alt and F together, then press S". Such shortcuts often represent a series of smaller shortcuts, strung together to create a larger action. To continue the "Alt+F, S" example, in many programs, this will open the "File" menu, and then invoke the "Save" function.

[edit] See also

Look up Keyboard shortcut in
Wiktionary, the free dictionary.

[edit] External links