The overrides a settings object carries, reduced to the ones that can
apply.
Settings come back from localStorage, where anything may have been
written: a command that no longer exists, a value that is not a string,
a shortcut that names no key. None of those should reach hotkeys-js,
which would bind them silently, so they are dropped here and the reader's
other overrides survive.
Parameters
raw: unknown
settings.general.keybindings, or anything that stood in for it
The overrides a settings object carries, reduced to the ones that can apply.
Settings come back from localStorage, where anything may have been written: a command that no longer exists, a value that is not a string, a shortcut that names no key. None of those should reach hotkeys-js, which would bind them silently, so they are dropped here and the reader's other overrides survive.