安装
微软官方插件下载地址【free】目前只提供vs2010
下载:http://visualstudiogallery.msdn.microsoft.com/09dc58c4-6f47-413a-9176-742be7463f92
另附Vim插件下载:http://visualstudiogallery.msdn.microsoft.com/59ca71b3-a4a3-46ca-8fe1-0e90e3f79329
vs2012安装需要对下载到的东西进行处理,此处提供可用于vs2012的插件下载
或者自己对下载到的官方插件进行修改
修改方法:修改插件后缀名为.zip,解压后修改extension.vsixmanifest中的版本号10.0为11.0【vs2013修改为12.0】,保存后重新打包
2. 然后以管理员身份运行:emd[管理员运行]-> start EmacsEmulations.vsix
3. 安装后,进入vs安装目录的vs..\Microsoft Visual Studio 11.0\Common7\IDE,将插件解压包中Emacs.vsk复制到该目录下
4. 然后启动vs, 进入tools->Environment->keyboard 选择emacs即可
上述参考链接:http://stackoverflow.com/questions/13884953/emacs-keybindings-in-visual-studio-2012
部分快捷键
General Shortcut Keys
Command |
Keys |
Description |
Edit.EmacsExtendedCommand |
ALT + X |
Places the cursor in the Find/Command box on the Standard toolbar. |
Edit.EmacsFindReplace |
SHIFT + ALT + 5 |
Displays the replace options in the Quick tab of the Find and Replace dialog box. |
Edit.EmacsPasteRotate |
ALT + Y |
Pastes an item from the Clipboard Ring tab of the Toolbox to the file and automatically selects the pasted item. Press ALT + Y again to paste the next item to the Clipboard Ring. |
Edit.EmacsQuit |
CTRL + G |
Stops the current command or code and deactivates the region. |
Edit.EmacsUniversalArgument |
CTRL + U |
Prompts for an integer, returns negative if the first character entered is a hyphen. When a non-digit character is ent |