MacBook – How to have Windows keymapping on the Macbook, CTRL+C, CTRL+V

keybindingskeyboardmacbook pro

I have a Macbook pro 2016, I am a Linux user at home and I am used to CTRL+C, CTRL+X, CTRL+V kind of key mapping for my copy, cut and paste actions. I have set up keyboard modifier as below

enter image description here

I also have added additional keyboard shortcut overrides

enter image description here

But still some controls like copy paste does not work correctly from firefox or specifically from text fields.

Is there any thing I can do to make it streamlined ?

There are apps I have issues with. Visual Studio Code, Browser input fields, etc.

Best Answer

If you got at least MacOS Sierra on your MacBook you might use Karabiner Elements. If there is no suitable set of "Complex Modifications" importable for your case on their site, you'd have to manually edit

~/.config/karabiner/karabiner.json

with e.g. BBEdit (better make a backup copy before you start!). Doing so you'd have to go to:

"rules": [ /*...*/ ]

Here is an example from another question asked here:

{
  "Description": "Ctrl-C to Cmd-C, next and last re-mapping",
  "manipulators": [
    {
      "from": {
        "key_code": "c",
        "modifiers": {
          "mandatory": ["left_control"] 
        }
      },
      "to": [{
        "key_code": "c",
        "modifiers": ["left_command"] 
      }],
      "type": "basic"
    }
  ]
}

I suppose this should work with any app as the key code is altered low level.