better mapping for tab/buffer, and window