This is a lark, as I'm pretty sure 开发者_StackOverflow中文版not, but just want to throw it out there, otherwise I can just use a macro.
I think you might be able to achieve a result similar to what you're looking for by using temporary macros. Here are the steps to create and use a temporary macro...
- Press
CTRL+SHIFT+R
to begin recording a temporary macro. - Perform the command or set of commands you wish to repeat.
- Press
CTRL+SHIFT+R
to stop recording the temporary macro. - Press
CTRL+SHIFT+P
to execute the temporary macro. Repeat this step as many times as you want to repeat the command(s).
No such command -- there are no different working modes in VS as in vi. Your macro will have to run all the time though. And you might get your editor dirty ;-)
If you are wanting this because you are a vi user, there is always viEmu
精彩评论