Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to redo when using VsVim?

I'm using VS 2010 + latest VsVim. Looks like Vim Ctrl+R does not work in VsVim. Is that true?

VS handled Ctrl+R, saying: (Ctrl+R) was pressed. Waiting for second key of chord...

Is there any way to make this work?

like image 966
Rob L Avatar asked Dec 14 '11 06:12

Rob L


2 Answers

VsVim allows you to control whether Ctrl+r is handled by Visual Studio or VsVim itself.

At the bottom of a source file (e.g. *.cs) you should see the VsVim command line and an Options button. Clicking the Options button will give you a menu that lists various keyboard shortcuts and allows you to choose which application should handle them.

like image 178
Eric Bock Avatar answered Nov 04 '22 17:11

Eric Bock


Yes. There is an Option button in after the VsVim command line. But even if I choose to VsVim to handle Ctrl+R, VS is still handling Ctrl+R and complains: '(Ctrl+R) was pressed. Waiting for second key of chord...' I just tried to change this setting and let VS handle Ctrl+R, then change it back to VsVim. But still can't redo a previously undoed editting.

like image 38
wiser Avatar answered Nov 04 '22 18:11

wiser