Re: [Vim-latex-devel] can you modify these?
Brought to you by:
srinathava,
tmaas
From: Daniele A. <d.a...@gm...> - 2009-10-03 08:48:18
|
The two options \begin{equation*} cursor here \end{equation*}<++> and \begin{equation*} cursor here \end{equation*} <++> are only one button away from each other, and I don't see why is hard to stick to option 1, press Ctrl-J to the placeholder, and then Enter to go to new line. I am also skeptical about the use of $$ ... $$. This is not a Vim-LaTeX problem, but a LaTeX one. The use of $$ has been replaced long time ago by \[ ... \]. Using double dollars is obsolete, and it would be better to change this habit rather than Vim-LaTeX. Best. Daniele On Fri, Oct 2, 2009 at 10:02 PM, Till Maas <ope...@ti...> wrote: > 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 > > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry® Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9-12, 2009. Register now! > http://p.sf.net/sfu/devconf > _______________________________________________ > Vim-latex-devel mailing list > Vim...@li... > https://lists.sourceforge.net/lists/listinfo/vim-latex-devel > > |