Keyboard shortcuts
The full shortcut profile of NeoMath and NeoChem, the Ctrl+E, Ctrl+D, Ctrl+B and Ctrl+K chords and how to customize them in atalhos.json.
On this page
NeoMath consults a shortcut profile instead of fixed keys. The default profile ships with the app and can be overridden by a file of your own.
Principles#
- Every action has a stable identifier (
inserir:fracao,matriz-coluna+…). - A shortcut is a sequence of one or more keys. The first always carries Ctrl; the following keys (chord) need no modifier.
- Alt and Ctrl+Alt are never used: on ABNT2 keyboards that combination is AltGr and produces characters.
- Keys without Ctrl are never captured; typing always inserts the character.
- New actions live under three prefixes: Ctrl+E templates, Ctrl+D matrix and Ctrl+B selection. The second key is the initial of what you want.
File and editing#
| Action | Shortcut |
|---|---|
| undo / redo | Ctrl+Z / Ctrl+Y |
| copy / cut / paste | Ctrl+C / Ctrl+X / Ctrl+V |
| select all | Ctrl+A |
| save / save as | Ctrl+S / Ctrl+Shift+S |
| new tab / open / close tab | Ctrl+N / Ctrl+O / Ctrl+W |
| switch tabs | Ctrl+Tab / Ctrl+Shift+Tab |
| settings | Ctrl+, |
| equation capture (OCR) | Ctrl+Shift+A |
| paste image for OCR | Ctrl+Shift+V |
General shortcuts also work with focus outside the editor (search field, panels); equation editing ones only work in the editor.
Word#
| Action | Shortcut |
|---|---|
| send to Word | Ctrl+Enter |
| update in Word | Ctrl+Shift+Enter |
| bring from Word | Ctrl+Shift+W |
Structures and styles#
| Action | Shortcut |
|---|---|
| fraction / root | Ctrl+F / Ctrl+R |
| superscript / subscript | Ctrl+H / Ctrl+L |
| subscript and superscript | Ctrl+EJ |
| parentheses / brackets / braces | Ctrl+9 / Ctrl+[ / Ctrl+Shift+[ |
| next letter as Greek | Ctrl+G |
| text / math / function style | Ctrl+Shift+E / Ctrl+Shift+= / Ctrl+Shift+F |
| variable / Greek / vector-matrix style | Ctrl+Shift+I / Ctrl+Shift+G / Ctrl+Shift+B |
With a selection, style shortcuts apply the style to the selected part.
Ctrl+E: delimiters and enclosures#
| Second key | Action |
|---|---|
P |
floor |
T |
ceiling |
N |
norm |
A |
angle brackets |
D |
double brackets |
C |
box |
R |
strikethrough |
U |
actuarial symbol |
V |
long division |
S |
bar over |
B |
bar under |
J |
subscript and superscript |
Ctrl+D: matrix#
With the cursor in a matrix:
| Second key | Action |
|---|---|
B / C |
row below / row above |
X |
remove row |
D / E |
column to the right / to the left |
Z |
remove column |
1 2 3 4 5 0 |
delimiter: parentheses, brackets, braces, bars, left brace, none |
M / L / F |
alignment center / left / right |
Ctrl+B: selected part#
| Second key | Action |
|---|---|
M T F V G X |
style: math, text, function, variable, Greek, vector-matrix |
1 to 7 |
size: full, script, subscript, symbol, subsymbol, user 1, user 2 |
0 |
removes the part’s size |
Esc or any key that does not complete the chord cancels it. While a chord is pending, the status bar says so.
NeoChem#
Chemistry shortcuts use the Ctrl+K chord:
| Shortcut | Action |
|---|---|
| Ctrl+Z, Ctrl+Y | undo and redo |
| Ctrl+N, Ctrl+O, Ctrl+S | new, open and save (.neochem) |
| Ctrl+KM | plus sign |
| Ctrl+K1 to Ctrl+K5 | arrows: reaction, equilibrium, retrosynthesis, resonance, reversible |
| Ctrl+KT | free text |
| Ctrl+KD, Ctrl+KZ | duplicate, remove |
| Ctrl+K, and Ctrl+K. | move left and right |
| Ctrl+KX | swap the selected molecule |
| Ctrl+KR, Ctrl+KE, Ctrl+KF, Ctrl+KV | rotate, rotate back, flip horizontally and vertically |
| Ctrl+KI | go to the SMILES and formula field |
| Ctrl+KS, Ctrl+KP, Ctrl+KC | save SVG, PNG, CML |
| Ctrl+KY, Ctrl+KK, Ctrl+KJ | copy image, SMILES, CML |
| Ctrl+KQ and the template key | insert a catalog structure |
| arrows, Delete, Home, End, Esc | choose the item, remove, first, last, clear selection |
Customize#
The user file is atalhos.json (atalhos_quimica.json in NeoChem), in the data folder:
| System | Path |
|---|---|
| Windows | %APPDATA%\NeoMath\atalhos.json |
| Linux | ~/.config/NeoMath/atalhos.json |
| macOS | ~/Library/Application Support/NeoMath/atalhos.json |
The shortcut help window writes a complete template if the file does not exist yet.
{
"versao": 1,
"atalhos": {
"inserir:fracao": ["Ctrl+F"],
"inserir:piso": "Ctrl+E P",
"inserir:raiz": []
}
}- The value is a combination or a list of them. An empty list turns the action off.
- A missing action keeps the default.
- Keys of a chord are separated by a space:
Ctrl+E P. - Accepted modifiers:
CtrlandShift. The key is a single character (F,9,[,=). - An invalid combination, unknown action or conflict is ignored; warnings show in the shortcut help window.
- The file is read once per app run.
Action identifiers#
desfazer, refazer, copiar, recortar, colar, selecionar-tudo, salvar-rapido, salvar-como, novo, abrir, fechar-aba, ocr-capturar, ocr-colar, proximo-grego, estilo:<name>, inserir:<template>, matriz-linha+, matriz-linha-, matriz-remover-linha, matriz-coluna+, matriz-coluna-, matriz-remover-coluna, matriz-delimitador:<type>, matriz-alinhamento:<side>, trecho-estilo:<name>, trecho-tamanho:<name>.