Make tab mappings work in all modes.