On 26 мар, 09:20, "Leandro N. Camargo" <[email protected]> wrote:
> Now, what if I want to do the reverse, tranforming this:
>
> a.anything {
> color:#eee;
> display:block;
> width:300px;
>
> }
>
> onto this:
>
> a.anything {color:#eee;display:block;width:300px;}
>
> ???
Try
g/[;}]\s*$/-1j
It works for me with:
a.anything {
color:#eee;
display:block;
width:300px;
}
a.anything {
color:#eee;
display:block;
width:300px;
}
Result:
a.anything { color:#eee; display:block; width:300px; }
a.anything { color:#eee; display:block; width:300px; }
Regards,
Maxim Kim.
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---