Understand keymap execution order
mainWhen multiple keymaps are assigned to the same key, the plugin executes them in the following priority order:
- Auto delete
$ - Expand snippets automatic snippets
- Expand manual snippets (using
triggerKeyor the defaulttriggerKey) - Select the next tabstop
- Select the previous tabstop
- Auto fraction
- Priority tabout (e.g., only tabout when the cursor is inside brackets)
- Add
\and a newline in a matrix - Add a new cell/
&in a matrix - Go to the next line in a matrix
- Tabout to the next closing bracket or exit the equation
- Tabout if you type a closing delimiter (e.g.
},],))
Note: If a feature is disabled in settings, it is skipped in this order.