I am getting ‘trailing whitespace’ errors trying to commit some files in Git.

I want to remove these trailing whitespace characters automatically right before I save Python files.

Can you configure Vim to do this? If so, how?

14 Answers
14

Leave a Reply

Your email address will not be published. Required fields are marked *