Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

vim remove whitespace from end of line

# Basic syntax:
:%s/s+$//g
# Note, to remove whitespace from the beginning of every line, use:
:%s/^ *//g
Source by vi.stackexchange.com #
 
PREVIOUS NEXT
Tagged: #vim #remove #whitespace #line
ADD COMMENT
Topic
Name
2+8 =