Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 247
Andrew Su Avatar asked Jan 23 '26 13:01

Andrew Su


2 Answers

  • 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 to shift+cmd+z (Mac) or shift+ 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 or ctrl+y and press Enter

Thats all.

More on my post with images medium blog link

like image 160
ThrowableException Avatar answered Jan 26 '26 02:01

ThrowableException


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

like image 41
Aryan Sethi Avatar answered Jan 26 '26 02:01

Aryan Sethi



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!