code-settings-sync icon indicating copy to clipboard operation
code-settings-sync copied to clipboard

Keyboard Shortcut Separation

Open lgiancol opened this issue 2 years ago • 1 comments

Issue Type: Feature Request

I use VS Code at work and at play. My play is a Windows PC and my work is a Mac. I use the same GitHub account to sync my settings and because of this things get wonky when I set certain shortcuts dealing with ctrl since it's the same but different key on both systems.

Any way we can have keyboard shortcut separation for the different systems that are used?

Extension version: 3.4.3 VS Code version: Code 1.60.1 (83bd43bc519d15e50c4272c6cf5c1479df196a4d, 2021-09-10T17:09:14.403Z) OS version: Darwin x64 20.4.0 Restricted Mode: No

lgiancol avatar Sep 17 '21 16:09 lgiancol

I too am having some funny behavior with this. I use an external usb keyboard for both systems and I've noticed Mac treats ctrl as the cmd key, so because of this, I made a several keyboard shortcuts where cmd/ctrl would be interchangeable. Example, on Windows ctrl+alt+t brings up my terminal, thus on mac it I would like it to be cmd+alt+t.

However, maybe I'm doing something wrong, but settings sync doesn't seem to have transferred any of my keyboard shortcuts I've set up on my work/windows machine to my personal/Mac machine. The log file on my mac reads:

[info] Keybindings: No changes found during synchronizing keybindings.

I've tried turning on/off the Settings Sync: Keybindings Per Platform setting, but still cannot seem to get this functionality. Can someone explain how to set this up properly? I just want all shortcuts that I set up on Windows involving the ctrl key to trigger when I use cmd key on mac in place of ctrl.

generic-humanoid avatar Nov 10 '21 17:11 generic-humanoid