Emacs keybinding for Visual Studio 2019

macOS provide Emacs keybinding as a natively. At least, I need it on Visual Studio of Windows.

Introduction

If you must get Ctrl+A to be a keybinding that moves the cursor to the beginning of a line in Visual Studio, install Emacs emulation 2. This post will make your wish come true.

How to setup

Open Extentions > Manage Extensions.

./images/figure_04.png

Type emacs in Search bar. Then, click Download button. If it finished, Quit Visual Studio.

./images/figure_05.png

Windows show VSIX Installer. Take care of it.

./images/figure_06.png

Next, launch Visual Studio and Open someone project. So, appear Emacs emulation's dialog. Click OK on the one.

./images/figure_07.png

Open Tools > Options..., then select Emacs in Environment > Keyboard.

./images/figure_02.png

Select Emacs, click OK.

./images/figure_08.png

The installation maybe completed with the above. So please try Ctrl + A on text editor in Visual Studio.

References