Last active
April 26, 2022 00:20
-
-
Save emri99/fe06de91f23390c927e1850bf0d95d46 to your computer and use it in GitHub Desktop.
Karabiner / Rectangle mapper
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"title": "Windows Resizing (Fn + arrow)", | |
"rules": [ | |
{ | |
"description": "Window on top - Fn + Arrow up => CTRL+CMD+OPT+9", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"modifiers": { | |
"mandatory": [ | |
"fn" | |
] | |
}, | |
"key_code": "up_arrow" | |
}, | |
"to": [ | |
{ | |
"repeat": false, | |
"key_code": "9", | |
"modifiers": [ | |
"left_gui", | |
"left_alt", | |
"left_control" | |
] | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"description": "Window on bottom - Fn + Arrow down => CTRL+CMD+OPT+L", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"modifiers": { | |
"mandatory": [ | |
"fn" | |
] | |
}, | |
"key_code": "down_arrow" | |
}, | |
"to": [ | |
{ | |
"repeat": false, | |
"key_code": "l", | |
"modifiers": [ | |
"left_gui", | |
"left_alt", | |
"left_control" | |
] | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"description": "Window on left - Fn + Arrow left => CTRL+CMD+OPT+I", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"modifiers": { | |
"mandatory": [ | |
"fn" | |
] | |
}, | |
"key_code": "left_arrow" | |
}, | |
"to": [ | |
{ | |
"repeat": false, | |
"key_code": "i", | |
"modifiers": [ | |
"left_gui", | |
"left_alt", | |
"left_control" | |
] | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"description": "Window on right - Fn + Arrow right => CTRL+CMD+OPT+P", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"modifiers": { | |
"mandatory": [ | |
"fn" | |
] | |
}, | |
"key_code": "right_arrow" | |
}, | |
"to": [ | |
{ | |
"repeat": false, | |
"key_code": "p", | |
"modifiers": [ | |
"left_gui", | |
"left_control", | |
"left_alt" | |
] | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"description": "Fullscreen - Fn + shift + arrow up => CTRL+CMD+OPT+O ", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"modifiers": { | |
"mandatory": [ | |
"fn", | |
"left_shift" | |
] | |
}, | |
"key_code": "up_arrow" | |
}, | |
"to": [ | |
{ | |
"repeat": false, | |
"key_code": "o", | |
"modifiers": [ | |
"left_gui", | |
"left_control", | |
"left_alt" | |
] | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"description": "Restore - Fn + shift + arrow down => CTRL+CMD+OPT+DELETE", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"modifiers": { | |
"mandatory": [ | |
"fn", | |
"left_shift" | |
] | |
}, | |
"key_code": "down_arrow" | |
}, | |
"to": [ | |
{ | |
"repeat": false, | |
"key_code": "delete_or_backspace", | |
"modifiers": [ | |
"left_gui", | |
"left_control", | |
"left_alt" | |
] | |
} | |
] | |
} | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Purpose
Usage
Installation
CONTROL+OPTION+COMMAND+I
(letter i)CONTROL+OPTION+COMMAND+P
CONTROL+OPTION+COMMAND+9
(or ç in french keyboard layout)CONTROL+OPTION+COMMAND+L
CONTROL+OPTION+COMMAND+DELETE
CONTROL+OPTION+COMMAND+O
(letter o)