Re: [Vim-latex-devel] can you modify these?
Brought to you by:
srinathava,
tmaas
From: Till M. <ope...@ti...> - 2009-10-02 21:03:14
|
On Thu, Sep 24, 2009 at 05:58:21AM -0400, xitong chen wrote: > Hello dear maintainers. I was very happy with vim-latex in the past years. However I have two modifications > which I would like you can take into consideration. For example if I press F5 when I was in insert mode I can choose equation*, and the output is > > \begin{equation*} > cursor here > \end{equation*}<++> > > What I wish you could reconsider is the position of <++>. Many latex users, if my guess is correct, prefer typing latex file like > > we have the follow equation > \begin{equation*} > > my equation > > \end{equation*} > then by this equation we know... > > So I really wish you could put <++> as > > \begin{equation*} > > cursor here > > \end{equation*} > <++> It seems to me, that this behaviour can only be changed easily for all environments and not especially for equation*. I am currently not sure, if this makes sense for every environment. Are there more opinions on this? > Ok the next modification is about > > $cursor here$my equation$$ > > Since sometimes I just like to use $$ $$ for convenience. And of course you know vim-latex cannot recognize $$$$ well. It means if I press four $ continuously I got > > $$<++>$<++>$<++> > > and instead what I really want is > > $$ cursor here $$ > > So could you please add an auto-recognition for latex-suite that if I press two $ then of course as normal it gives out $cursor here$<++> and if I press an extra $ consequently then it > recognize I want to have a $$ $$<++> I believe this would require a major change, too, because the $$ mapping will always be evaluated before you can type the third dollar sign. Regards Till |