Use hammerspoon to rebind numeric keypad
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 45/100
Research direction
Start by locating the repository's Hammerspoon or Lua configuration, since no target file is named. Compare the existing setup with the provided keypad-to-top-row mapping and verify that numeric keypad keys work with the intended modifiers; done means the mappings are integrated and usable.
Written by the indexing model from the issue text.
Description
-- Function to remap numpad keys to top-row keys
function remapNumpadToTopRow(padKey, topKey)
-- Bind the numpad key with all possible modifiers
hs.hotkey.bind({"cmd", "alt", "ctrl", "shift"}, padKey, function()
-- Simulate pressing the top-row key with the *actual* currently pressed modifiers
local mods = hs.eventtap.checkMouseKeys() -- A helper to get current modifiers
hs.eventtap.keyStroke(mods, topKey)
end)
end
-- Apply this function for each number 1-9 and 0
remapNumpadToTopRow("pad0", "0")
remapNumpadToTopRow("pad1", "1")
remapNumpadToTopRow("pad2", "2")
remapNumpadToTopRow("pad3", "3")
remapNumpadToTopRow("pad4", "4")
remapNumpadToTopRow("pad5", "5")
remapNumpadToTopRow("pad6", "6")
remapNumpadToTopRow("pad7", "7")
remapNumpadToTopRow("pad8", "8")
remapNumpadToTopRow("pad9", "9")
- Dominant language
- Shell
- Stars
- 1
- Forks
- 0
- Avg merge
- 11m
- Merged PRs (30d)
- 2
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from indexzero/dotfiles
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
Difficulty 4/5 3-5 days Newbie friendliness 42/100
-
Difficulty 4/5 3-5 days Newbie friendliness 39/100
-
Difficulty 1/5 Under an hour Newbie friendliness 48/100
-
Difficulty 5/5 Over a week Newbie friendliness 8/100
All issues in indexzero/dotfiles
Similar issues
-
e2e-failure ready-to-code
Difficulty 1/5 Under an hour Newbie friendliness 82/100
redhat-developer/rhdh-plugin-export-overlays#4485 · 1 comment ·
Maintainers usually reply within 1 day
-
maintenance
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
fix(session-flow): redact.py misses bare sk-ant-oat01- tokens and stateless ghs_ tokens with dotsOpenneeds-human
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
melodic-software/claude-code-plugins#9026 · 1 comment ·
Maintainers usually reply within 1 day
-
bug raised-by:verifier
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
medici-finance/assay#4008 ·
Maintainers usually reply within 1 day
-
bug: `curl NAME` exports an unquoted, uninterpolated command that is not runnablePossibly taken @dannyward630 claimed this today. Openbug good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
yunaremaia/git-api#61 ·
Maintainers usually reply within 1 day