I\'v written a plugin where it comes to parsing a XML tag. The content inside the tag is indented and when i copy the parsed string into the file it\'s gettting like:
How about this:
:%s/^ *//
Or are you looking for a vim-script solution?
Personally I would visually select the lines with V, then use 99< to push the text as far left as it could go.
V
99<
A simple search/replace s/^\s*// should do the trick, but it's probably not the minimal version.
s/^\s*//