Re: Help with keyboard mapping?
Hi folks,
I've just installed the latest ViEmu I could find (2.5.11)
It's been a while since I used ViEmu (due to the lack of VS2010/R# support) and there are some Resharper shortcuts I've got used to that I'd rather not live without.
After a bit of research I've managed to get some of the behavior I'm after by mapping more keys to ViEmu and setting up mappings in my _viemurc
It is currently as follows:
map <A-j> :vsc Resharper.ReSharper_GotoNextHighlight<CR>
map <A-k> :vsc Resharper.ReSharper_GotoPrevHighlight<CR>
map <A-i> :vsc Resharper.ReSharper_Generate<CR>
The problem is there is one mapping I'd love to get working but can't figure out exactly what I need to do. What I'm trying to do is get Ctrl+E,U to execute Resharpers Surround With Template when in visual mode.
I've tried enabling the option for "Use VS selection for Visual Mode" along with the following mappings:
vnoremap <C-e><u> <A-r><e><u>
vmap <C-e><u> :vsc Resharper.ReSharper_SurroundWith<CR>
But nothing works the way I'm hoping it will.
Does anyone have any suggestions on how to get this to work?
Last edited by hastarin (2010-11-30 06:44:43)