Change tabs to bufs in 'gim'