Skip to content

Instantly share code, notes, and snippets.

@rubyu
Last active April 11, 2023 16:14
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rubyu/9f6b0b823df13214fb33ef507f051aab to your computer and use it in GitHub Desktop.
Save rubyu/9f6b0b823df13214fb33ef507f051aab to your computer and use it in GitHub Desktop.
F1-12, ←↑↓→, Home-End, PageUp-PageDown
{
"title": "F1-12, ←↑↓→, Home-End, PageUp-PageDown",
"rules": [
{
"description": "fn + 1 -> F1",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "1",
"modifiers": {
"mandatory": [
"fn"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "f1"
}
]
}
]
},
{
"description": "fn + 2 -> F2",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "2",
"modifiers": {
"mandatory": [
"fn"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "f2"
}
]
}
]
},
{
"description": "fn + 3 -> F3",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "3",
"modifiers": {
"mandatory": [
"fn"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "f3"
}
]
}
]
},
{
"description": "fn + 4 -> F4",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "4",
"modifiers": {
"mandatory": [
"fn"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "f4"
}
]
}
]
},
{
"description": "fn + 5 -> F5",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "5",
"modifiers": {
"mandatory": [
"fn"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "f5"
}
]
}
]
},
{
"description": "fn + 6 -> F6",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "6",
"modifiers": {
"mandatory": [
"fn"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "f6"
}
]
}
]
},
{
"description": "fn + 7 -> F7",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "7",
"modifiers": {
"mandatory": [
"fn"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "f7"
}
]
}
]
},
{
"description": "fn + 8 -> F8",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "8",
"modifiers": {
"mandatory": [
"fn"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "f8"
}
]
}
]
},
{
"description": "fn + 9 -> F9",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "9",
"modifiers": {
"mandatory": [
"fn"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "f9"
}
]
}
]
},
{
"description": "fn + 0 -> F10",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "0",
"modifiers": {
"mandatory": [
"fn"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "f10"
}
]
}
]
},
{
"description": "fn + hyphen -> F11",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "hyphen",
"modifiers": {
"mandatory": [
"fn"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "f11"
}
]
}
]
},
{
"description": "fn + equal_sign -> F12",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "equal_sign",
"modifiers": {
"mandatory": [
"fn"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "f12"
}
]
}
]
},
{
"description": "fn + l -> right_arrow",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "l",
"modifiers": {
"mandatory": [
"fn"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "right_arrow"
}
]
}
]
},
{
"description": "fn + k -> down_arrow",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "k",
"modifiers": {
"mandatory": [
"fn"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "down_arrow"
}
]
}
]
},
{
"description": "fn + i -> up_arrow",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "i",
"modifiers": {
"mandatory": [
"fn"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "up_arrow"
}
]
}
]
},
{
"description": "fn + j -> left_arrow",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "j",
"modifiers": {
"mandatory": [
"fn"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "left_arrow"
}
]
}
]
},
{
"description": "fn + u -> n/a",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "u",
"modifiers": {
"mandatory": [
"fn"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "none"
}
]
}
]
},
{
"description": "fn + o -> n/a",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "o",
"modifiers": {
"mandatory": [
"fn"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "none"
}
]
}
]
},
{
"description": "fn + p -> n/a",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "p",
"modifiers": {
"mandatory": [
"fn"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "none"
}
]
}
]
},
{
"description": "fn + ; -> n/a",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "semicolon",
"modifiers": {
"mandatory": [
"fn"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "none"
}
]
}
]
},
{
"description": "fn + @ -> home",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "open_bracket",
"modifiers": {
"mandatory": [
"fn"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "home"
}
]
}
]
},
{
"description": "fn + : -> end",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "quote",
"modifiers": {
"mandatory": [
"fn"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "end"
}
]
}
]
},
{
"description": "fn + [ -> page_up",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "close_bracket",
"modifiers": {
"mandatory": [
"fn"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "page_up"
}
]
}
]
},
{
"description": "fn + ] -> page_down",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "backslash",
"modifiers": {
"mandatory": [
"fn"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "page_down"
}
]
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment