How to redo when using VsVim?
-
20-04-2021 - |
문제
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?
해결책
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.
다른 팁
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.