

什么是 hotkey-hint?
Every power-user app — GitHub, Figma, Linear, Notion — has a keyboard shortcut layer that reveals itself when you press ?. Building one from scratch means wiring up event listeners, handling modifier keys, managing sequences like g then h, grouping shortcuts by category, and building a UI on top of all that. So register hotkeys, display a beautiful overlay with ?, handle sequences, groups, and modifiers — in 5 lines.
截图
?
还没有评论,来抢沙发吧!
X 上关于 hotkey-hint 的真实讨论
去 X 发帖



