Vim Strip Whitespace von Anfang jeder Zeile
# Basic syntax:
:%s/\s\+$//g
# Note, to remove whitespace from the beginning of every line, use:
:%s/^ *//g
Charles-Alexandre Roy