Add support for converting tab to spaces

A dropdown is shown that allows the user to map a <TAB> to either 2 or
4 spaces.