Remap buffer keys