Skip to content

kkzi/CapsHotkey

Repository files navigation

CapsHotkey

Use CapsLock as a navigation and editing modifier on Windows.

Default Hotkeys

Hold CapsLock and press:

Key Action
H / J / K / L Left / Down / Up / Right
A / E Home / End
B / F Ctrl+Left / Ctrl+Right
D Delete
Y / P Copy / Paste
W Delete previous word and copy it
U Delete to line start and copy it
C Delete to line end and copy it
S Delete current line and copy it
O Insert a blank line above
M Context menu
Q Quit CapsHotkey
' / ; Mouse wheel up / down

Tap CapsLock alone to toggle CapsLock normally.

Config

User mappings are loaded from caps.cfg next to CapsHotkey.exe. The file is hot-reloaded when saved.

Example:

h = Left
u = Shift Home, Ctrl Insert, Delete

Build

cmake -S . -B build_release
cmake --build build_release --config Release
ctest --test-dir build_release -C Release --output-on-failure

The executable is generated at build_release\Release\CapsHotkey.exe.

About

Use CAPSLOCK key as modifier and create custom hotkeys.                [CAPSLOCK] + H -> Left        [CAPSLOCK] + J -> Down     [CAPSLOCK] + K -> Up     [CAPSLOCK] + L -> Right

Resources

Stars

3 stars

Watchers

1 watching

Forks

Contributors