Skip to content

Commit 6fd7bbd

Browse files
authored
Merge pull request #50 from r-katabasis/suggestion
Update README.org
2 parents 5da7a9d + f121de2 commit 6fd7bbd

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.org

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,8 @@ xkb_options caps:ctrl_modifier
157157

158158
*Windows*
159159

160+
Approach #1: Change the binding in the Windows registry
161+
160162
On Windows you can use a simple registry file to tweak the CapsLock mapping. Save the following text to a file called =CapsLockHack.reg=:
161163

162164
#+begin_src
@@ -169,6 +171,14 @@ REGEDIT4
169171

170172
Now double-click on this file in Windows Explorer and allow Windows to apply it to your registry settings. After you log out of your current session and log back in the new key mapping should be in effect. Note that this change will affect *all* users on your system.
171173

174+
Approach #2: Use Microsoft's PowerToys
175+
176+
You can use PowerToys' Keyboard Manager to easily remap the keys. Download the tool from their [[https://github.com/microsoft/PowerToys/releases][github]] page and install it. Then open the powertoys settings (you sould find it in the taskbar), go to keyboard manager, enable it if it isn't already enabled and remap your keys. Once finished you should see something like:
177+
178+
=Caps Lock= ➞ =Ctrl (Left)=
179+
180+
=Ctrl (left)= ➞ =Caps Lock=
181+
172182
*macOS*
173183

174184
Thankfully Apple saw fit to make this a first-class option in macOS. You can follow the [[https://support.apple.com/guide/mac-help/change-the-behavior-of-the-modifier-keys-mchlp1011/mac][official documentation]] for your version of macOS to find the Modifier Keys settings and then switch Caps Lock to Control on that page.

0 commit comments

Comments
 (0)