qmk-firmware/keyboards/iris/keymaps/rs/karabiner.json
Olivier Poitrey e611433cb5 rs: code friendly keymap for preonic, iris and my preonic clone (#4303)
I worked on those keymap to simplify the use of 60% keyboards for
coders. Instead of trying to mimic planck, this keymap remove
raise/lower layer complexity and keep some important sign keys for coder
in the upper right side pretty much the same way as they are on a full
keyboard.

A karabiner configuration is also provided to mimic most of the keymap
features on the macbook internal keyboard for when you are forced to use
it.
2019-01-25 12:57:10 -08:00

155 lines
4.2 KiB
JSON

{
"title": "RS",
"rules": [{
"description": "CapsLock to Escape / Control Mod-Tap",
"manipulators": [{
"type": "basic",
"from": {
"key_code": "caps_lock",
"modifiers": {
"optional": ["any"]
}
},
"to": [{"key_code": "left_control"}],
"to_if_alone": [{"key_code": "escape"}]
}]
},
{
"description": "Right-Shift / Enter Mod-Tap",
"manipulators": [{
"type": "basic",
"from": {
"key_code": "right_shift",
"modifiers": {
"optional": ["any"]
}
},
"to": [{"key_code": "right_shift"}],
"to_if_alone": [{"key_code": "return_or_enter"}]
}]
},
{
"description": "Right-Command / Backspace Mod-Tap",
"manipulators": [{
"type": "basic",
"from": {
"key_code": "right_command",
"modifiers": {
"optional": ["any"]
}
},
"to": [{"key_code": "right_command"}],
"to_if_alone": [{"key_code": "delete_or_backspace"}]
}]
},
{
"description": "Right-Command Accents",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "a",
"modifiers": {
"mandatory": ["right_command"],
"optional": ["left_shift", "right_shift"]
}
},
"to": [
{"key_code": "grave_accent_and_tilde", "modifiers": ["left_option"]},
{"key_code": "a"}
]
}]
},
{
"description": "Right Command Navigation",
"manipulators": [{
"type": "basic",
"from": {
"key_code": "j",
"modifiers": {
"mandatory": ["right_command"],
"optional": ["any"]
}
},
"to": [{"key_code": "left_arrow"}]
},
{
"type": "basic",
"from": {
"key_code": "k",
"modifiers": {
"mandatory": ["right_command"],
"optional": ["any"]
}
},
"to": [{"key_code": "down_arrow"}]
},
{
"type": "basic",
"from": {
"key_code": "i",
"modifiers": {
"mandatory": ["right_command"],
"optional": ["any"]
}
},
"to": [{"key_code": "up_arrow"}]
},
{
"type": "basic",
"from": {
"key_code": "l",
"modifiers": {
"mandatory": ["right_command"],
"optional": ["any"]
}
},
"to": [{"key_code": "right_arrow"}]
},
{
"type": "basic",
"from": {
"key_code": "e",
"modifiers": {
"mandatory": ["right_command"],
"optional": ["any"]
}
},
"to": [{"key_code": "page_up"}]
},
{
"type": "basic",
"from": {
"key_code": "d",
"modifiers": {
"mandatory": ["right_command"],
"optional": ["any"]
}
},
"to": [{"key_code": "page_down"}]
},
{
"type": "basic",
"from": {
"key_code": "s",
"modifiers": {
"mandatory": ["right_command"],
"optional": ["any"]
}
},
"to": [{"key_code": "home"}]
},
{
"type": "basic",
"from": {
"key_code": "f",
"modifiers": {
"mandatory": ["right_command"],
"optional": ["any"]
}
},
"to": [{"key_code": "end"}]
}]
}]
}