RockPaperScissors

LizardSpock

VIM: Convert Tabs to Spaces

| Comments

Good programming practice is to use spaces to indent code rather than tabs. Due to tabs often being rendered differently by editors and personal configurations.

In vim this will convert tabs to space based on your current tab width settings:

:retab

To view white space characters (tabs will show as ^I)

:set list

Comments