microsoft / vscode-npm-scripts

VSCode extension for running npm-scripts and validating the package.json files.
MIT License
215 stars 55 forks source link

Change the keybindings to not use the `R` as their chording character #171

Closed egamma closed 2 years ago

egamma commented 2 years ago

This extension originally defined a chording keyboard shortcut for the R key. This has resulted in conflicts with the keybindings provided by VS Code and has caused frustration.

To avoid these conflicts the keybindings have been changed to use the existing chording shortcut starting with the K key. The following table shows the default key bindings that can always be changed, see the customization documentation.

Command Old New
Rerun last script CMD+R R CMD+K L
Select a script to run CMD+R SHIFT+R CMD+K SHIFT+R
Terminate the running script CMD+R SHIFT+X CMD+K SHIFT+X
Run the test script CMD+R T CMD+K T

If you prefer the old keybindings starting with R you can define the setting npm.oldKeybindings.enable to true.

egamma commented 2 years ago

Released in version 0.3.26