Last active
May 29, 2026 15:29
-
-
Save ivan/7d15b155b945021b503121bbda83a500 to your computer and use it in GitHub Desktop.
AutoHotkey to remap a laptop numpad to three identical columns of Home/PgUp/PgDn/End keys
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #persistent | |
| #singleinstance Force | |
| ; The idea here is to remap the left edge of the numpad | |
| ; to a single column of Home/PgUp/PgDn/End keys. | |
| Numlock::Home | |
| NumpadHome::PgUp | |
| NumpadLeft::PgDn | |
| NumpadEnd::End | |
| ; Another duplicated column next to it | |
| NumpadDiv::Home | |
| NumpadUp::PgUp | |
| ; vk0C = Numpad5 when not in Numlock mode | |
| vk0C::PgDn | |
| NumpadDown::End | |
| ; The last duplicated column | |
| NumpadMult::Home | |
| NumpadPgUp::PgUp | |
| NumpadRight::PgDn | |
| NumpadPgDn::End |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See also https://gist.github.com/ivan/5f0d7d087a7884dc348306ef3dd69269