Skip to content

feat: add hotkey to toggle Hammerspoon grid overlay - #19

Merged
lgw4 merged 1 commit into
mainfrom
feat/hammerspoon-grid-toggle
May 27, 2026
Merged

feat: add hotkey to toggle Hammerspoon grid overlay#19
lgw4 merged 1 commit into
mainfrom
feat/hammerspoon-grid-toggle

Conversation

@lgw4

@lgw4 lgw4 commented May 27, 2026

Copy link
Copy Markdown
Owner

Summary

  • Binds Ctrl+Cmd+Shift+G to hs.grid.show() so the interactive grid overlay can be displayed on demand
  • The overlay dismisses automatically after a cell is selected or Escape is pressed

Test plan

  • Reload Hammerspoon config (Ctrl+Cmd+Shift+R)
  • Press Ctrl+Cmd+Shift+G and confirm the grid overlay appears
  • Click a cell and confirm the frontmost window snaps to it
  • Press Ctrl+Cmd+Shift+G again and press Escape to confirm dismissal

🤖 Generated with Claude Code

Binds Ctrl+Cmd+Shift+G to hs.grid.show() so the interactive grid
overlay can be displayed on demand.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings May 27, 2026 03:00

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new Hammerspoon hotkey to bring up the hs.grid interactive overlay on demand, fitting into the existing window management / hotkey bindings in private_init.lua.

Changes:

  • Bind Ctrl+Cmd+Shift+G (mod_shift + "G") to show the Hammerspoon grid overlay (grid.show).
  • Add a short inline comment documenting the new hotkey.

Comment thread private_dot_hammerspoon/private_init.lua
@lgw4
lgw4 merged commit 3fb0ce3 into main May 27, 2026
1 check passed
@lgw4
lgw4 deleted the feat/hammerspoon-grid-toggle branch May 27, 2026 03:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants