Set up buffer enter and leave autocommands and set up projects to use them for tabs/spaces toggling