'Assign Ctrl+Y to Redo in VSCode
I'm currently having some trouble trying to assign any additional keybindings to the Normal Mode while using the VIM extension for VSCode. Any ideas on how to potentially rewrite the ctrl+y keybind back to the original default for VSCode? I've tried assigning various keys to Edit.Redo, but that hasn't worked either.
Solution 1:[1]
- Open VS Code & Go to
keyboard shortcuts
- There will be a search bar at the top
- Type
redo
in the search bar. its might be mapped toshift+cmd+z
(Mac) orshift+ ctrl+z
(windows) - Double click on existing keyboard mapping
- A box will appear.
- Do not click or type anything, just use your keyboard and type
cmd+y
orctrl+y
and press Enter
Thats all.
More on my post with images medium blog link
Solution 2:[2]
You can do the following -
1- Press crtl+shift+P and write open keyboard shortcuts
2- Press enter and search for Redo
you can then edit the shortcut using the edit button
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | ThrowableException |
Solution 2 | Aryan Sethi |