I recently shipped Spex , a Chrome extension that adds Excel-style sequential keyboard shortcuts and contextual KeyTips to Google Sheets. The user-facing interaction is intentionally small: press Alt / Option see the keys available at that moment continue the sequence run the selected Sheets command The implementation stopped being small as soon as I wanted it to behave like a real input system rather than a collection of keydown handlers. This post is about the arc...