change mappings for buffer and tab