Le dimanche 19 mai 2013 10:29:31 UTC+2, Shlomi Fish a écrit : > On Thu, 16 May 2013 08:38:22 -0700 (PDT) > > Yann Thomas-Gérard <[email protected]> wrote: > > > > > Hello, > > > > > > I want to change opening and closing html tags effectively. Take this html > > > code in normal mode, the cursor is represented by a pipe: > > > > > > <|ul class="foo"> > > > <li class="active">item 1</li> > > > <li>item 2</li> > > > <li>item 3</li> > > > </ul> > > > > > > cwol would produce: > > > > > > <ol| class="foo"> > > > <li class="active">item 1</li> > > > <li>item 2</li> > > > <li>item 3</li> > > > </ol> > > > > > > The surround plugin could achieve this with cst<ol><Enter> but it wasn't > > > meant to keep the existing attributes. > > > > > > Thank you for any help you can provide in this situation. > > > > > > Yann > > > > > > > Hi Yann! > > > > Please look at these plugins: > > > > * http://www.vim.org/scripts/script.php?script_id=1397 > > > > * https://github.com/mattn/zencoding-vim > > > > Regards, > > > > Shlomi Fish > > > > -- > > ----------------------------------------------------------------- > > Shlomi Fish http://www.shlomifish.org/ > > Why I Love Perl - http://shlom.in/joy-of-perl > > > > Lone Starr: “Just what we need — a Druish princess.” > > Barf: “Funny! She doesn’t look Druish.” > > — Spaceballs, http://www.imdb.com/title/tt0094012/ > > > > Please reply to list if it's a mailing list post - http://shlom.in/reply .
Thank you Shlomi, xml.vim is exactly what I was looking for. Best, Yann -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_use" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
