Respect the 'expandtab' setting when inserting a shiftwidth.