How can I get Emacs style key bindings in Visual Studio?

时光毁灭记忆、已成空白 提交于 2019-11-28 08:05:09

You can try the Emacs keyboard scheme (Tools->Options->Environment->Keyboard)

Torleif

Xkeymacs does a really good job of this. It is possible to configure this tool for every application running on your desktop.

With Settings:

Try the Emacs keyboard scheme on Environment options.

Plugins:

I have only seen this one: VisEmacs, it will integrate Emacs as the default text editor for Visual Studio.

After posting that Emacs keybindings/emulation would no longer be available in Visual Studio 2010, Emacs Emulation is now available as a free extension for VS 2010.

I use VisEmacs because the emacs keyboard scheme isn't quite as nice as emacs itself.

Ray Vega

Unfortunately, the Emacs emulation extension for VS 2010 is not officially supported for VS 2012.

However, a workaround is possible if follow the steps outlined in this answer for an SO question on getting Emacs key-bindings in VS2012

A quick Live search for "visual studio emacs" gave this page. I'm not sure how thorough it is though (having never used emacs myself).

I used the Emacs keyboard scheme for a few days, but it quickly drove me crazy -- I couldn't rebind keys they way I was used to in Emacs (or couldn't find how to rebind quickly).

I should try XKeyMacs....

If you're using Visual Studio Express 2008 and want the Emacs key bindings then you need to install the Visual C++ edition of VSE 2008. Initially I only installed the C# edition and there were no custom key bindings in Tools->Options->Environment->Keyboard. Once I installed the C++ edition the Emacs key bindings became available in both products.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!