Keybinding for a pc keyboard on MacOS cd ~/Library/KeyBindings nano DefaultKeyBinding.dict { "#," = ("insertText:", "."); "²" = ("insertText:", "<"); "<" = ("insertText:", "²"); "^x" = cut:; "^c" = copy:; "^v" = paste:; }