You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe it.
When typing for math formula in \[ \] I find myself often need to switch to align due to the formula getting too long and I need to split it into several lines. Currently ts$ can toggle between inline math mode, display math mode, and equation environment. I think it will be useful if we can have even more environments to toggle, in particular, makes equation jump to align.
Additional context
A similar topic is raised in #2310, and we have vimtex_env_toggle_math_map. But I found it not able to recognize the environment name, I have the following in my config but it seems that it still fallback to default $ every time when I toggle in equation mode.
When typing for math formula in \[ \] I find myself often need to switch to align due to the formula getting too long and I need to split it into several lines.
Actually, you should not use align in this case. Instead, you should use \begin{multline*} ... \end{multline*} or \[ \begin{split} ... \end{split} \] or something similar. align is more useful for multiple equations.
I have the following in my config but it seems that it still fallback to default $ every time when I toggle in equation mode.
Is your feature request related to a problem? Please describe it.
When typing for math formula in
\[ \]
I find myself often need to switch toalign
due to the formula getting too long and I need to split it into several lines. Currentlyts$
can toggle between inline math mode, display math mode, andequation
environment. I think it will be useful if we can have even more environments to toggle, in particular, makesequation
jump toalign
.Additional context
A similar topic is raised in #2310, and we have
vimtex_env_toggle_math_map
. But I found it not able to recognize the environment name, I have the following in my config but it seems that it still fallback to default$
every time when I toggle in equation mode.Thank you!
The text was updated successfully, but these errors were encountered: