I use vim with vim-latex for editing latex files. I always have hard wrapping enabled using set tw=80
. I also have the default vim-latex auto indent settings enabled.
I wonder if there is a way to disable hard wrapping and any form of automatic indentation when I am in a maths environment? That is, when I am between \begin{IEEEeqnarray*}
and \end{IEEEeqnarray*}
, for example, or any other maths environment.
There is a partial answer here: Why does vim still auto-indent LaTeX after I set noai noci nosi? It doesn't help with disabling text wrapping though.
Thanks in advance!