Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

19 lines (12 sloc) 0.364 kb

Converting between tabs and spaces

The command for converting between tabs and spaces is:

retab!
More specifically, to convert tabs to spaces, run:

set expandtab
retab!
And to convert spaces to tabs, run:

set noexpandtab
retab!
Strip trailing whitespace

Strip trailing spaces throughout an entire file by running this substitution command:

%s/\s\+$//e
Jump to Line
Something went wrong with that request. Please try again.