I'm on macOS Ventura 13.1. I have the command and control modifier keys swapped in the macOS keyboard settings, and it works in most places, but terminal programs still expect command+X to close nano, or command+C to kill a process, etc., but I'd prefer they use control+X or control+C to be consistent with the rest of the system.
Is there a way to fully rebind these modifier keys so that they work globally in all programs, including terminals like iTerm2 and VS Code's integrated terminal? I tried using Karabiner Elements, but that didn't work inside terminals either.
hidutil
to remap keys systemwide. Similar question: apple.stackexchange.com/q/434991/119271