Vim Delete All Trailing Whitespace


/ Published in: Other
Save to your folder(s)

This command will remove any trailing whitespace for all lines in the current buffer.


Copy this code and paste it in your HTML
  1. :%s/\s\+$//

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.