Skip to content

Commit

Permalink
Merge pull request daviwil#50 from r-katabasis/suggestion
Browse files Browse the repository at this point in the history
Update README.org
  • Loading branch information
daviwil committed May 25, 2021
2 parents 5da7a9d + f121de2 commit 6fd7bbd
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.org
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,8 @@ xkb_options caps:ctrl_modifier

*Windows*

Approach #1: Change the binding in the Windows registry

On Windows you can use a simple registry file to tweak the CapsLock mapping. Save the following text to a file called =CapsLockHack.reg=:

#+begin_src
Expand All @@ -169,6 +171,14 @@ REGEDIT4

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.

Approach #2: Use Microsoft's PowerToys

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:

=Caps Lock= ➞ =Ctrl (Left)=

=Ctrl (left)= ➞ =Caps Lock=

*macOS*

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 comments on commit 6fd7bbd

Please sign in to comment.