I have css code in this format:
a { color: #333; background-color: #fff; }
a:visited { color: #aaa; background-color: #555; }
I want to get it in this format:
a {
color: #333;
background-color: #fff;
}
a:visited {
color: #aaa;
background-color: #555;
}
Is there an easy way to do this? I know I can write a macro for this, but I was hoping there is a better / simpler solution. Ideally, I would like to select the rows and do something like gq.
source
share