getKeyBindingsForOS = (os) => {
  const keyBindings = {};
  for (const [action, { name, ...keys }] of Object.entries(KeyMapping)) {
    if (keys[os]) {
      keyBindings[action] = {
        keys: keys[os],
        name
      };
    }
  }
  return keyBindings;
}
Retrieves the key bindings for a specific operating system.

@param {string} os - The operating system (e.g., 'mac', 'windows').
@returns {Object} An object containing the key bindings for the specified OS.