Hacker News new | ask | show | jobs
by lawn 5823 days ago
This is how I did it

  " Trim trailing spaces and convert tabs to spaces
  map <F3> :silent! %s/\s\+$//<CR>:retab<CR>