how to set cmd + y as redo in vscode

2023-11-09by@tim&@ChatGPT.Model: gpt-4
tim

how to set cmd + y as redo in vscode

Avatar
Avatar

You can set cmd + y as redo in Visual Studio Code (VSCode) by following these steps:

  1. Open Visual Studio Code.
  2. Press cmd + shift + p or F1 to open the command palette.
  3. Type Preferences: Open Keyboard Shortcuts in the command palette and select it.
  4. In the search bar that appears, type redo. You should see a list of commands related to redo.
  5. Find redo in the list. Click on the pencil icon next to it.
  6. Press cmd + y.
  7. You will be prompted to update your keybinding. Click on "Enter" to confirm the changes.
  8. Now, cmd + y should work as redo in VSCode.

Please note that this might override any existing command that is using this shortcut.