Skip to content
Autohotkey (windows) and Autokey (linux) configurations for CapsLock remapping
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
autohotkey
autokey
README.md

README.md

CapsLock configuration files

Autohotkey (windows) and Autokey (linux) configuration files for CapsLock remapping, inspired by a blog post by Nikitonsky.

Features

  • Use capslock + j/l/k/i instead of arrow keys without moving your hands from the default position
  • capslock + h as a backspace
  • capslock + a/d/s/w as home/end, page up/page down keys
  • capslock + [, capslock + ] to decrease and increase the sound volume

On Linux

This is tested on Ubuntu (gnome). The Autokey configuration tool doesn't seem to work with CapsLock key directly, so I had to map CapsLock to "additional Hyper" first:

  • Tweaks -> keyboard & mouse -> additional layout options
  • Caps lock behavior
  • Make Caps Lock an additional Hyper

You're free to choose any other key instead of Hyper, but then the Autokey configuration files must also be updated.

Then

  • Install Autokey
  • Copy the autokey directory to ~/.config/autokey/data
  • Run Autokey

On Windows

  • Install Autohotkey
  • Execute autohotkey/capslock.ahk

Add to autoload:

  • Win + R, %appdata%\Microsoft\Windows\Start Menu\Programs\Startup, enter
  • Right-click -> New -> Shortcut
  • Enter the full path to capslock.ahk file
You can’t perform that action at this time.