Remove all arbitary spaces before a line in Vim
To format a line to the left I use :left
. Use this format an entire file:
:%le
A simple search/replace s/^\s*//
should do the trick, but it's probably not the minimal version.
Personally I would visually select the lines with V
, then use 99<
to push the text as far left as it could go.