Keypress Notifications

May 26, 2026 · View on GitHub

Keypress Notifications

Keypress Notifications

CI VS Code Marketplace Open VSX Registry License: MIT Installs Downloads Rating

Never lose track of which shortcut you just pressed.


About the Project

The "Why"

VS Code gives you zero feedback about which keyboard shortcut you triggered. You pressed something — but what? This tiny blind spot compounds fast: during screencasts and tutorials, your audience can't follow your keystrokes. In pair-programming sessions, your colleague doesn't know what you just did. When streaming or presenting, viewers stare at a result with no context. And when you're learning new keybindings yourself, muscle memory can't form if nothing confirms you hit the right combo.

Keypress Notifications plugs that gap. Every time you trigger one of 42 common VS Code keybindings, a toast notification pops up — "You've pressed Ctrl+C" — so there's always on-screen confirmation of what happened.

Features

  • Visual Feedback: On-screen toast notification confirms every triggered keybinding.
  • Screencast & Stream Ready: Viewers see the shortcut label as you press it, without extra software.
  • Pair Programming Friendly: Your keys are visible without any extra screen-share setup.
  • Accessible: On-screen text confirmation of every action alongside screen reader support.
  • Muscle Memory Builder: Instant reinforcement each time you press the right combo.

Tech Stack

  • TypeScript
  • Node.js
  • VS Code Extension API

Visuals

Keypress Notifications demo
On-screen toast for every supported keybinding

Setup & Installation

Prerequisites

  • VS Code: Version 1.111.0 or later.

Install Commands

VS Code Marketplace (recommended):

ext install VijayGangatharan.keypress-notifications

Or search "Keypress Notifications" in the Extensions view (Ctrl+Shift+X).

Open VSX (VS Codium / other open-source VS Code builds): open-vsx.org/extension/VijayGangatharan/keypress-notifications

Command line:

code --install-extension VijayGangatharan.keypress-notifications

Usage

Quick Start

  1. Install from VS Code Marketplace
  2. Open any file in VS Code
  3. Press a supported shortcut (e.g. Ctrl+S to save)
  4. See the toast notification — "You've pressed Ctrl+S"

That's it. No configuration needed for the default experience.

Commands

Open the Command Palette (Ctrl+Shift+P) and search for:

CommandDescription
Keypress Notifications: EnableTurn notifications on
Keypress Notifications: DisableTurn notifications off
Keypress Notifications: Show StatusOpen the extension output channel

Configuration

All settings live under the keypress-notifications.* namespace in your VS Code settings.json:

SettingTypeDefaultDescription
enabledbooleantrueEnable or disable notifications
minimumKeysnumber2Minimum number of keys in a combination before a notification fires
excludedCommandsstring[][]Commands to suppress notifications for
showCommandNamebooleanfalseInclude the VS Code command ID in the notification message
logLevelstring"info"Logging verbosity: "debug", "info", "warn", or "error"

Supported Shortcuts

The extension covers 42 common commands across the Editor, Explorer, Workbench, and Terminal.

Click to view all supported shortcuts

Editor

ShortcutAction
Ctrl+CCopy
Ctrl+XCut
Ctrl+VPaste
Ctrl+ZUndo
Ctrl+YRedo
Ctrl+ASelect All
Ctrl+FFind
Ctrl+HFind & Replace
Alt+UpMove Line Up
Alt+DownMove Line Down
Shift+Alt+UpCopy Line Up
Shift+Alt+DownCopy Line Down
Ctrl+Shift+KDelete Line
Ctrl+.Quick Fix
Shift+Alt+FFormat Document
Ctrl+/Toggle Line Comment
Ctrl+DAdd Selection to Next Match

Explorer

ShortcutAction
Ctrl+CCopy File/Folder
Ctrl+XCut File/Folder
Ctrl+VPaste File/Folder

Workbench / Navigation

ShortcutAction
Ctrl+SSave
Ctrl+K SSave All
Ctrl+Shift+PCommand Palette
Ctrl+PQuick Open
Ctrl+Shift+FFind in Files
Ctrl+GGo to Line
Ctrl+BToggle Sidebar
Ctrl+`Toggle Terminal
Ctrl+JToggle Panel
Ctrl+WClose Editor
Ctrl+Shift+NNew Window
Ctrl+NNew File
Ctrl+OOpen File
Ctrl+\Split Editor
Ctrl+Shift+TReopen Closed Editor
Ctrl+Shift+OGo to Symbol
Ctrl+,Open Settings
Ctrl+Shift+GSource Control
Ctrl+Shift+XExtensions
Ctrl+Shift+DDebug
Ctrl+Shift+MProblems

Terminal

ShortcutAction
Ctrl+Shift+`New Terminal

Getting Help & Contributing

Troubleshooting

Notifications not appearing
  1. Check extension status: open Command Palette → Keypress Notifications: Show Status — look for enabled: true in the output.
  2. Enable the extension: Command Palette → Keypress Notifications: Enable.
  3. Check minimumKeys: default is 2, so single-key presses won't fire. Lower it in settings if needed.
  4. Check excludedCommands: the command may be in your exclusion list.
  5. Unsupported shortcut: notifications only fire for the 42 curated keybindings above — arbitrary shortcuts are not wrapped.
Shortcut not in the list The extension wraps a curated set of 42 common commands. To request coverage for a shortcut, open an issue with the VS Code command ID and your use case.
Notifications are too noisy
  • Add commands to keypress-notifications.excludedCommands (use the VS Code command ID, e.g. editor.action.clipboardCopyAction).
  • Raise keypress-notifications.minimumKeys to suppress shorter combos.

Contribution Guidelines

Contributions are welcome. See CONTRIBUTING.md for full guidelines, including how to set up the local development environment. Please open an issue to discuss significant changes before submitting a Pull Request.

Contact

Vijay Gangatharan


Additional Sections

Roadmap

  • Future updates will explore adding coverage for more VS Code keybindings based on user requests.

Credits / Acknowledgments

Thanks goes to these wonderful people (and AI assistants) for their contributions:

  • Vijay Gangatharan
  • Claude (Anthropic)
  • The VS Code Extension API team for excellent documentation.
  • All contributors and users who provide feedback.

License

This project is licensed under the MIT License.