
If set as true, Command (⌘) key works as the Meta prefix like original Emacs on macOS. If set as true, ctrl+[ works as the Meta prefix like original Emacs. So, as the special case, Escape g works as follows.

It is because VSCode can handle only up to two key strokes as the key bindings. The only exception is the commands which begin with M-g ( M-g g, M-g n, M-g p). If set as false, Escape key works as cancel, the VSCode's native behavior.įor example, if set as true, M-f (forward-word) can be issued by both alt+f and escape f. If set as true, Escape key works as the Meta prefix like original Emacs. If set as false, on the other hand, the cursor move to the first non-empty character in the line (VSCode's native behavior of Home key). If set as false, the VSCode's native cursor movements are preserved.įor example, if set as true, when you type C-a, the cursor moves to the beginning of the line (Emacs' original behavior). If set as true, the original emacs's cursor movements are strictly simulated.
#Emacs for mac indent lines how to#
(See this page to know how to change the settings.)Ĭonfigurable options of this extension are the followings. This extension has some custom settings named with a prefix emacs-mcx. Post a bug report or a feature request to GitHub Issues. The GitHub issue where we discuss about it.It makes the find widget work similarly to Emacs. To disable it, you should set VSCode setting as "never". This is VSCode's design that an extension cannot control. i-search ( C-s) is initialized with the currently selected string and the previous search is removed. You can disable it with emacs-mcx.cursorMoveOnFindWidget option described below. It's an intended design that simulates the original Emacs' behavior. FAQ The cursor cannot be moved on the find widget as the widget closes with movement keys.

Mainly, almost all keybinding settings are derived from vscode-emacs-friendly by Sebastian Zaha.
#Emacs for mac indent lines code#
This extension makes use of code in the existent extensions listed above and, in addition, VSCode and VSCode Vim extension.
