Is there a preference in Textwrangler to redefine a tab as 4 spaces? In Vim this is set expandtab in the vimrc, but I don\'t know how to set it in TW besides cl
set expandtab
Go to Edit -> Text Options and tick Auto-expand tabs. This will make all the new tabs to change to spaces.
Edit
Text Options
Auto-expand tabs
To change all current tabs to spaces as well, go to Text -> Detab and hit Detab.
Text
Detab
Hope that helps!