On 2012-07-20 12:49, vicky b wrote:
> ...
> i want to have it as below all line merged as single line and no
> spaces at all
>
> <?xmlversion="1.0"encoding="UTF-8"?><SupportItem><ItemInfo>...
You can select the text and use gJ, which acts like J but doesn't insert
spaces between lines. It won't remove the in-line spaces or tabs hough.
You can also use :%s/\_s// which removes all spaces and newlines. Do you
really want '<?xmlversion' though? That seems invalid, but I don't know
why you're doing this so maybe I shouldn't question it.
P.s. many of us cannot see the indentation in your email because our
email clients do not support html formatting.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment