I’m used to using a tabstop of 4sp when coding, and my poor old brain gets confused when people use other indent sizes.
Unfortunately, I’m now working for a company where they use a 2sp indent, and my eyes just can’t see it as an indent. Instead of triggering another round of the tabs vs spaces religious war, I’m trying to find a way to convert spaces back and forth when I load and save a file.
The only way I can think of is to have a plugin that runs when I load a file and automatically converts multiples of 2sp at the start of a line to a tab character, which is set as 4sp wide. Then, to have another plugin that runs when I save the file again, and automatically converts my tabs into 2sp.
Can anyone recommend a collection of settings/plugins that will help me do this without going mad?