This is a currently input prefix argument. Use this boolean context to check the existence of a prefix argument, instead of using emacs-mcx.prefixArgument with null check. This indicates if a prefix argument exists. emacs-mcx.prefixArgumentExists (experimental) ![]() ![]() This indicates the editor is accepting argument input following C-u. This indicates whether mark-mode is enabled. This extension provides some contexts that you can refer to in "when" clauses of your keybindings.json. Set false when M- conflicts with some other necessary commands. Indicates whether M- (the emacs-mcx.digitArgument command) is enabled. If another extension that also uses the type command is installed, an error occurs (See ).If you are using IME, text input may sometimes fail.Note that this config makes use of VSCode API's type command under the hood and can cause problems in some cases. Prefix arguments do not work on character inputs with IMEs by default and you can set this config to true in order to enable it. If set to true, cursor move commands of this extension ( C-f, C-b, C-p, C-n, C-a, C-e, M-f, M-b, and M-m) are disabled when the find widget is focused, to allow the widget to keep open and the cursor to move on it. This simulates the original Emacs' kill-whole-line variable. emacs-mcx.killRingMaxĬonfigures the maximum number of kill ring entries. 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. (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.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |