Created
May 29, 2026 15:22
-
-
Save ivan/5f0d7d087a7884dc348306ef3dd69269 to your computer and use it in GitHub Desktop.
AutoHotkey to remap a laptop numpad to the keys you'd find in the navigation cluster
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 entire numpad (with Numlock off) | |
| ; to a scroll lock area with: | |
| ; Ins Home PgUp | |
| ; Del End PgDn | |
| ; Up Up | |
| ; Left [ Down ] Right | |
| ; | |
| ; where we unfortunately borrow the Right arrow key left of the numpad, | |
| ; to be the Left arrow key instead. | |
| NumpadRight::PgDn | |
| NumpadUp::Home | |
| ; vk0C = Numpad5 when not in Numlock mode | |
| vk0C::End | |
| NumpadHome::Insert | |
| NumpadLeft::Delete | |
| NumpadDel::Right | |
| Right::Left | |
| ; Numpad0/Ins is a double-wide key, unfortunately | |
| NumpadIns::Down | |
| ; Two up keys above the down key | |
| NumpadDown::Up | |
| NumpadEnd::Up | |
| ; Disable unused keys | |
| NumpadPgDn::return | |
| NumpadEnter::return | |
| NumpadAdd::return |
ivan
commented
May 29, 2026
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment