Skip to content

Instantly share code, notes, and snippets.

@wxiaoguang
Last active March 12, 2018 03:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wxiaoguang/1d13c3acfaf2fe5bdeaafce2ce27b53d to your computer and use it in GitHub Desktop.
Save wxiaoguang/1d13c3acfaf2fe5bdeaafce2ce27b53d to your computer and use it in GitHub Desktop.
{
"title": "Mine",
"rules": [
{
"description": "Simultaneously press Up/Down + Right to get a PageUp/Down",
"manipulators": [
{
"type": "basic",
"from": {
"simultaneous": [{"key_code": "up_arrow"}, {"key_code": "right_arrow"}],
"modifiers": {"optional": ["any"]}
},
"to": [
{"key_code": "page_up"}
]
},
{
"type": "basic",
"from": {
"simultaneous": [{"key_code": "down_arrow"},{"key_code": "right_arrow"}],
"modifiers": {"optional": ["any"]}
},
"to": [
{"key_code": "page_down"}
]
}
]
},
{
"description": "Copy & Paste: Fn + C/V get Ctrl/Shift + Insert",
"manipulators": [
{
"type": "basic",
"from":{
"key_code":"c",
"modifiers":{ "mandatory":["fn"]}
},
"to":[
{"key_code":"insert","modifiers":["left_control"]}
]
},
{
"type": "basic",
"from":{
"key_code":"v",
"modifiers":{ "mandatory":["fn"]}
},
"to":[
{"key_code":"insert","modifiers":["left_shift"]}
]
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment