Often I want to format a paragraph such as this one:
\begin{align}
...
\end{align}
This is
the paragraph
I wish
to format.....
So I added a text object so that I could do gwir to format it. I am quite new to vim scripting so I'm not sure that I've done everything the best way ;) Hopefully others might find it useful.
Often I want to format a paragraph such as this one:
So I added a text object so that I could do
gwir
to format it. I am quite new to vim scripting so I'm not sure that I've done everything the best way ;) Hopefully others might find it useful.