mathtex-editor-keymap 0.1.0

Pluggable Hypatia style default keymap for mathtex-editor, translating input into core commands
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# mathtex-editor-keymap

`mathtex-editor-keymap` is the default browser-style input mapping for
[`mathtex-editor`](https://github.com/gabriel-nsiqueira/mathtex-editor). It translates normalized key
events and committed text into commands for
[`mathtex-editor-core`](https://crates.io/crates/mathtex-editor-core).

It provides:

- Arrow, selection, deletion, tab, home/end, and structural insertion commands
- Character autocorrections and word-to-symbol conversion
- A searchable catalog of roughly 140 backslash commands
- Host-defined word expansions for application-specific symbols and structures

The keymap is optional: hosts can emit core `Command`s directly or replace it with their own input
policy.

Licensed under either Apache-2.0 or MIT.