[ACCEPTED]-How can I get Emacs style key bindings in Visual Studio?-keyboard-shortcuts

Accepted answer
Score: 25

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

0

Score: 12

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

Score: 5

With Settings:

Try the Emacs keyboard scheme on Environment 3 options.

Plugins:

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

Score: 5

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

Score: 4

For VS2019 it is an extension written by 3 the community.

(Installing the extension)

  1. Open Visual Studio 2019
  2. Click Extensions -> Manage Extensions
  3. Select "Online" in the left-side panel.
  4. In the search box, enter "emacs"
  5. As of March 2020, "Emacs Emulation 2" seems to be the thing. Select it and click "Download"
  6. Close the window and close all open copies of Visual Studio. VSIX Installer will install the plug-in with your permission.

(Turning 2 on EMACS)

  1. Open Visual Studio
  2. Use the menu Tools -> Customize. Click the "Keyboard" button at the bottom.
  3. In the box at the top there will be an EMACS scheme that wasn't there before. Pick it. Click OK.
  4. Close and reopen any code/text editing windows.

Press Ctrl-A, Ctrl-E, Ctrl-F.. It 1 feels like a warm blanket on a cold day.

Score: 3

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

Score: 2

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

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

Score: 1

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

I should try XKeyMacs....

Score: 1

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

Score: 0

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

More Related questions