[ACCEPTED]-How can I get Emacs style key bindings in Visual Studio?-keyboard-shortcuts
You can try the Emacs keyboard scheme (Tools->Options->Environment->Keyboard)
0
Xkeymacs does a really good job of this. It is 2 possible to configure this tool for every 1 application running on your desktop.
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.
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.
For VS2019 it is an extension written by 3 the community.
(Installing the extension)
- Open Visual Studio 2019
- Click Extensions -> Manage Extensions
- Select "Online" in the left-side panel.
- In the search box, enter "emacs"
- As of March 2020, "Emacs Emulation 2" seems to be the thing. Select it and click "Download"
- 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)
- Open Visual Studio
- Use the menu Tools -> Customize. Click the "Keyboard" button at the bottom.
- In the box at the top there will be an EMACS scheme that wasn't there before. Pick it. Click OK.
- 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.
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
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....
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.
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
We use cookies to improve the performance of the site. By staying on our site, you agree to the terms of use of cookies.