Skip to content

antonsergeyev/hotkeys

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

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

About

Autohotkey (windows) and Autokey (linux) configurations for CapsLock remapping

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published