keyboard
temmet only uses two keyboard shortcuts, and only while a session is running. Both are surfaced on screen below the meter so you don't have to memorize them.
the shortcuts
- space — pause or resume the meter.
- esc — end the session and open the summary.
That's the full list.
why no others
Browsers reserve a lot of modifier-key combinations for themselves. Cmd+S / Ctrl+S saves the page. Cmd+H hides the window on macOS. Cmd+N / Ctrl+N opens a new browser window. Cmd+W / Ctrl+W closes the tab. A web app that maps these to its own actions either fights the browser or fails silently on systems where the browser wins. temmet leaves all of them alone.
the on-screen hint
When a session is running, the keyboard hint appears right below the End Session button. It updates dynamically: pressing pause changes the label from "pause" to "resume". You don't have to remember anything — the hint is the documentation.
questions
- Why no Cmd+S to save?
- The browser owns Cmd+S for Save Page. Hijacking it would either fail silently or fight with the browser. temmet auto-saves anyway, so the shortcut had no real job.
- Why no Cmd+H or Cmd+N?
- Cmd+H hides the window on macOS. Cmd+N opens a new browser window. App shortcuts that fight platform shortcuts are bad ergonomics; we left them alone.
- Are there any global shortcuts?
- No. Shortcuts only apply on the running-session screen, where the focus context is clear.