Skip to content
| Marketplace
Sign in
Visual Studio Code>Keymaps>MacOS Default Key BindingsNew to Visual Studio Code? Get it now.
MacOS Default Key Bindings

MacOS Default Key Bindings

Mike Cunneen

|
1,827 installs
| (1) | Free
Provide MacOS default keybindings on any platform.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

This extension provides the default key bindings for MacOS for Visual Studio Code on any platform.

Based on the excellent instructions at Scott McPeak's windows key bindings.

mac keyboard

Currently, these are the defaults for VSCode 1.78.2.

This is useful if you want to run VSCode on another platform but continue to use the bindings that are the defaults on MacOS (e.g., here and here).

This extension does not remove any existing bindings. On MacOS, that means you have everything bound twice. On other platforms, you have that platform's default bindings plus the MacOS ones. The bindings in this extension take precedence over the defaults provided by VSCode.

Installation

From within VSCode, go to extensions (Ctrl+Shift+X), search for "MacOS Default Keybindings", click on it, then click on Install. The new bindings should be active immediately.

Alternatively, install it from the Marketplace page, or download the VSIX file from the Github releases page and then use "Install from VSIX..." menu option from the "..." menu in the Extensions page.

How it was created

For the curious or adventurous, the procedure I used to create this extension is:

  1. Run yo code to make a new keybindings extension.
  2. Disable all non-default extensions (within the workspace) so their entries do not appear in the output from the next command.
  3. Run command "Preference: Open Default Keyboard Shortcuts (JSON)" from the command palette.
  4. Copy the output into the contributes.keybindings section of package.json.
  5. Tidy up package.json by adding publisher, etc.
  6. Write documentation.

Photo by hannah joshua on Unsplash

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft