Switching Control and Caps Lock on Windows(For Emacs)
I didn’t know I can do this till my colleague told me when he saw I’m playing Emacs. “Your small figure will probably feel bad after you doing too much in Emacs”, he said, “Try to switch the Control and Caps Lock.” Sounds interesting! I google the solution and it makes life easier in Emacs. But not very convenient out of Emacs.
key points: add a new field to
HKEYLOCALMACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout
with name : Scancode Map
and type : Binary Value and value : 00000000 00000000 03000000
3A001D00 1D003A00 00000000
**details
**;;; Updated
use autohotkey turns out to be more convenient. (swap control with Win
key)
LWin::Control
LControl::LWin