visual-studio-2010resharperviemu

ViEmu & Resharper: How to "Redo"


I'm trying out ViEmu with Visual Studio 2010 & R#. In Vim I use ctrl-r to redo, but in ViEmu and VS ctrl-r doesn't work. The status bar says "Waiting for second key of chord". I assume this is for shortcuts like R# Rename (Ctrl-r,r)

Is there some way to enable ctrl-r as redo for viemu while still keeping the (Ctrl-r, *) shortcuts for resharper?


Solution

  • One way is to just type ":red[o]" (the 'o' is optional) in normal mode. Otherwise you can fix the Ctrl-R mapping. I believe you can customize mappings in some vimrc type file Viemu uses and then just map :red to what you want.