How do I swap CapsLock and Control?
CapsLock and Control cannot be swapped from within Emacs, and Windows does not have a convenient mechanism like xmodmap to change virtual key bindings. Instead, new keyboard layouts or device drivers can be installed, or the registry can be modified, to swap the two keys. WARNING: If you use a new keyboard layout to switch CapsLock and Control, beware of the option to use hotkey sequences to switch keyboard layouts. This option is in Control Panel->Keyboard under the Language (Win95) or Input Locales (NT) tabs; the sequences themselves are “Left Alt+Control” and “Ctrl+Shift”. If you enable one of these options, then you will likely at some point switch keyboard layouts while trying to use an Emacs key combination. NT 4.
CapsLock and Control cannot be swapped from within Emacs, and Windows does not have a convenient mechanism like xmodmap to change virtual key bindings. Instead, new keyboard layouts or device drivers can be installed, or the registry can be modified, to swap the two keys. WARNING: If you use a new keyboard layout to switch CapsLock and Control, beware of the option to use hotkey sequences to switch keyboard layouts. This option is in Control Panel->Keyboard under the Language (Windows 95) or Input Locales (Windows NT) tabs; the sequences themselves are “Left Alt+Control” and “Ctrl+Shift”. If you enable one of these options, then you will likely at some point switch keyboard layouts while trying to use an Emacs key combination. NT 4.0: • Check out swapcapslock.zip (note that this site seems to have intermittent connectivity problems). • You can also play games with the registry: • From Chris McMahon