Skip to content

Instantly share code, notes, and snippets.

@ivyxjc
Created October 24, 2022 02:15
Show Gist options
  • Save ivyxjc/f88ed090af249a890b16f408e617a8d5 to your computer and use it in GitHub Desktop.
Save ivyxjc/f88ed090af249a890b16f408e617a8d5 to your computer and use it in GitHub Desktop.
karabiner rule
{
"title": "swap-1",
"rules": [
{
"description": "left-control to left-command",
"manipulators": [
{
"from": {
"key_code": "left_control"
},
"to": [
{
"key_code": "left_gui",
"repeat": true
}
],
"type": "basic"
}
]
},
{
"description": "left-command to left-control",
"manipulators": [
{
"from": {
"key_code": "left_gui"
},
"to": [
{
"key_code": "left_control",
"repeat": true
}
],
"type": "basic"
}
]
}
]
}
{
"title": "swap-daeryou",
"rules": [
{
"description": "left-option to left-control",
"manipulators": [
{
"from": {
"key_code": "left_option"
},
"to": [
{
"key_code": "left_control",
"repeat": true
}
],
"type": "basic"
}
]
},
{
"description": "left-command to left-option",
"manipulators": [
{
"from": {
"key_code": "left_gui"
},
"to": [
{
"key_code": "left_option",
"repeat": true
}
],
"type": "basic"
}
]
},
{
"description": "left-control to left-command",
"manipulators": [
{
"from": {
"key_code": "left_control"
},
"to": [
{
"key_code": "left_gui",
"repeat": true
}
],
"type": "basic"
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment