Parts of this document are for more advanced user cases and you probably won't ever need to use them.
Keymaps allow users to use shortcuts to manipulate the text in their editor.
Cmd-b is an example for setting the selected text to be bold.
In a sufficiently large
The following is an example where the enter key can be customised to ignore all lower priority
Enter key bindings.
next method allows full control beyond the return value. It allows both calling all lower priority key bindings regardless of whether true or false has been called.
To use the above example you could do the following.
This manager can now be used to create an editor where the baseKeymap for the
Enter key is overridden.
If override is set to
false, the keybinding will defer to lower priority keybindings while still allowing the behaviour you want for the extension.