On Jan 27, 10:48 am, Teemu Likonen <[email protected]> wrote:
> 703designs (2009-01-27 07:28 -0800) wrote:
>
> > I'm working with some CSS formatted
>
> > p
> > {
> >     property: values;
> > }
>
> > What sort of find/replace command should I use to delete the newline
> > before the brace for all declarations?
>
> How about g command?
>
>     :%g/^{/normal kJ

I had no idea that I could include commands in a replace. Thanks!

Thomas
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to