如何在Visual Studio中获取Emacs样式键绑定?

时间:2022-06-02 04:13:15

How can I get Emacs style key bindings in Visual Studio? Is it available in Settings? Do I need a Plug-in?

如何在Visual Studio中获取Emacs样式键绑定?在“设置”中是否可用?我需要插件吗?

9 个解决方案

#1


22  

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

您可以尝试使用Emacs键盘方案(工具 - >选项 - >环境 - >键盘)

#2


11  

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

Xkeymacs做得非常好。可以为桌面上运行的每个应用程序配置此工具。

#3


5  

With Settings:

Try the Emacs keyboard scheme on Environment options.

在环境选项上尝试使用Emacs键盘方案。

Plugins:

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

我只看过这个:VisEmacs,它将Emacs集成为Visual Studio的默认文本编辑器。

#4


5  

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.

在发布Emacs键绑定/仿真在Visual Studio 2010中不再可用之后,Emacs Emulation现在可用作VS 2010的免费扩展。

#5


3  

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

我使用VisEmacs,因为emacs键盘方案不如emacs本身那么好。

#6


2  

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

不幸的是,VS 2010的Emacs仿真扩展不受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

但是,如果按照本答案中列出的步骤获取有关在VS2012中获取Emacs密钥绑定的SO问题,则可以采用解决方法

#7


1  

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).

快速实时搜索“visual studio emacs”给了这个页面。我不确定它有多彻底(我自己从未使用过emacs)。

#8


1  

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).

我使用了Emacs键盘方案几天,但它很快就让我发疯了 - 我无法按照他在Emacs中习惯的方式重新绑定键(或者无法找到如何快速重新绑定)。

I should try XKeyMacs....

我应该试试XKeyMacs ....

#9


1  

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.

如果您正在使用Visual Studio Express 2008并且需要Emacs密钥绑定,那么您需要安装VSE 2008的Visual C ++版本。最初我只安装了C#版本,并且在Tools-> Options-> Environment中没有自定义键绑定 - >键盘。一旦我安装了C ++版本,Emacs密钥绑定就可以在两种产品中使用。

#1


22  

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

您可以尝试使用Emacs键盘方案(工具 - >选项 - >环境 - >键盘)

#2


11  

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

Xkeymacs做得非常好。可以为桌面上运行的每个应用程序配置此工具。

#3


5  

With Settings:

Try the Emacs keyboard scheme on Environment options.

在环境选项上尝试使用Emacs键盘方案。

Plugins:

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

我只看过这个:VisEmacs,它将Emacs集成为Visual Studio的默认文本编辑器。

#4


5  

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.

在发布Emacs键绑定/仿真在Visual Studio 2010中不再可用之后,Emacs Emulation现在可用作VS 2010的免费扩展。

#5


3  

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

我使用VisEmacs,因为emacs键盘方案不如emacs本身那么好。

#6


2  

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

不幸的是,VS 2010的Emacs仿真扩展不受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

但是,如果按照本答案中列出的步骤获取有关在VS2012中获取Emacs密钥绑定的SO问题,则可以采用解决方法

#7


1  

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).

快速实时搜索“visual studio emacs”给了这个页面。我不确定它有多彻底(我自己从未使用过emacs)。

#8


1  

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).

我使用了Emacs键盘方案几天,但它很快就让我发疯了 - 我无法按照他在Emacs中习惯的方式重新绑定键(或者无法找到如何快速重新绑定)。

I should try XKeyMacs....

我应该试试XKeyMacs ....

#9


1  

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.

如果您正在使用Visual Studio Express 2008并且需要Emacs密钥绑定,那么您需要安装VSE 2008的Visual C ++版本。最初我只安装了C#版本,并且在Tools-> Options-> Environment中没有自定义键绑定 - >键盘。一旦我安装了C ++版本,Emacs密钥绑定就可以在两种产品中使用。