Vim Strip Whitespace od początku każdej linii
# Basic syntax:
:%s/\s\+$//g
# Note, to remove whitespace from the beginning of every line, use:
:%s/^ *//g
Charles-Alexandre Roy