Mappings are always saved per game. Saving them globally wouldn’t really work well since not all games use the same keys.
The default mapping covers a common PC game scheme (WASD to move, E for use, R for reload, SPACE to jump, SHIFT to walk etc.), so in most cases customizing the mapping for a specific game should be fairly simple.