vim: remove spaces at the end when not needed