add autocmd to trim trailing whitespaces