[英]How can I get Emacs style key bindings in Visual Studio?
How can I get Emacs style key bindings in Visual Studio?如何在 Visual Studio 中获得 Emacs 样式的键绑定? Is it available in Settings?设置里可以用吗? Do I need a Plug-in?我需要插件吗?
您可以尝试 Emacs 键盘方案( Tools->Options->Environment->Keyboard )
在发布 Emacs 键绑定/仿真将不再在 Visual Studio 2010 中可用后, Emacs 仿真现在可作为 VS 2010 的免费扩展提供。
我使用VisEmacs是因为 emacs 键盘方案不如 emacs 本身那么好。
Unfortunately, the Emacs emulation extension for VS 2010 is not officially supported for VS 2012.不幸的是,VS 2012 不正式支持 VS 2010 的Emacs 仿真扩展。
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 问题的解决方法是可能的
For VS2019 it is an extension written by the community.对于VS2019,它是社区编写的扩展。
(Installing the extension) (安装扩展)
(Turning on EMACS) (开启EMACS)
Press Ctrl-A, Ctrl-E, Ctrl-F.. It feels like a warm blanket on a cold day.按 Ctrl-A、Ctrl-E、Ctrl-F.. 感觉就像在寒冷的日子里铺上温暖的毯子。
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 .如果您使用的是 Visual Studio Express 2008 并且想要 Emacs 键绑定,那么您需要安装 VSE 2008 的 Visual C++ 版本。最初我只安装了 C# 版本,并且工具->选项->环境中没有自定义键绑定- >键盘。 Once I installed the C++ edition the Emacs key bindings became available in both products.一旦我安装了 C++ 版本,Emacs 键绑定在两个产品中都可用。
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 ....
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.