Squeak
  links to this page:    
View this PageEdit this PageUploads to this PageHistory of this PageTop of the SwikiRecent ChangesSearch the SwikiHelp Guide
FAQ: Modifier Keys
Last updated at 6:22 pm UTC on 5 March 2003
I know what shift and control are, but what are the "command", "cmd", and "option" modifiers?

In addition to the usual Shift and Control keys, Macs have Command and Option keys.

For Squeak, the Command key on a Mac is treated the same as an Alt key on Windows or Unix. The Option key has no equivalent on most non-Macs, but its use is being phased out of Squeak.

Unfortunately, the default mapping of non-Mac Alt to Mac Command makes for unfamiliar keystroke shortcuts for non-Mac users:

FunctionMacNon-Mac
CopyCommand-cAlt-c
CutCommand-xAlt-x
PasteCommand-vAlt-v
Select AllCommand-aAlt-a
FindCommand-fAlt-f
Find againCommand-gAlt-g
Save (i.e. accept)Command-sAlt-s
UndoCommand-zAlt-z

However, as of 3.2, you can switch these shortcuts to the Control key in Windows by opening the Preferences window and choosing one of either: "swap control and alt keys" or "duplicate control and alt keys" (from the "general" category). The balloon help explains it.

See also FAQ: Keyboard shortcuts and bindings