mirror of
https://github.com/willemml/dotfiles.nix.git
synced 2025-04-12 11:17:17 +00:00
Binds F+HJKL to arrows on darwin
This commit is contained in:
parent
08d8468670
commit
30aaa9016c
1 changed files with 54 additions and 10 deletions
|
@ -8,13 +8,19 @@
|
|||
"from": {
|
||||
"key_code": "caps_lock",
|
||||
"modifiers": {
|
||||
"optional": ["any"]
|
||||
"optional": [
|
||||
"any"
|
||||
]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "right_shift",
|
||||
"modifiers": ["right_command", "right_control", "right_option"]
|
||||
"modifiers": [
|
||||
"right_command",
|
||||
"right_control",
|
||||
"right_option"
|
||||
]
|
||||
}
|
||||
],
|
||||
"to_if_alone": [
|
||||
|
@ -27,11 +33,11 @@
|
|||
]
|
||||
},
|
||||
{
|
||||
"description": "Hyper + JKL; keys to arrows",
|
||||
"description": "Hyper + HJKL keys to arrows",
|
||||
"manipulators": [
|
||||
{
|
||||
"type": "basic",
|
||||
"from": {
|
||||
"key_code": "h",
|
||||
"modifiers": {
|
||||
"mandatory": [
|
||||
"right_command",
|
||||
|
@ -39,14 +45,19 @@
|
|||
"right_alt",
|
||||
"right_shift"
|
||||
]
|
||||
},
|
||||
"key_code": "j"
|
||||
}
|
||||
},
|
||||
"to": [{ "repeat": true, "key_code": "left_arrow" }]
|
||||
"to": [
|
||||
{
|
||||
"key_code": "left_arrow",
|
||||
"repeat": true
|
||||
}
|
||||
],
|
||||
"type": "basic"
|
||||
},
|
||||
{
|
||||
"from": {
|
||||
"key_code": "k",
|
||||
"key_code": "j",
|
||||
"modifiers": {
|
||||
"mandatory": [
|
||||
"right_gui",
|
||||
|
@ -66,7 +77,7 @@
|
|||
},
|
||||
{
|
||||
"from": {
|
||||
"key_code": "l",
|
||||
"key_code": "k",
|
||||
"modifiers": {
|
||||
"mandatory": [
|
||||
"right_gui",
|
||||
|
@ -86,7 +97,7 @@
|
|||
},
|
||||
{
|
||||
"from": {
|
||||
"key_code": "semicolon",
|
||||
"key_code": "l",
|
||||
"modifiers": {
|
||||
"mandatory": [
|
||||
"right_gui",
|
||||
|
@ -105,6 +116,39 @@
|
|||
"type": "basic"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "F as Hyper",
|
||||
"manipulators": [
|
||||
{
|
||||
"from": {
|
||||
"key_code": "f",
|
||||
"modifiers": {
|
||||
"optional": [
|
||||
"any"
|
||||
]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "f",
|
||||
"repeat": true
|
||||
}
|
||||
],
|
||||
"to_if_held_down": [
|
||||
{
|
||||
"key_code": "right_shift",
|
||||
"modifiers": [
|
||||
"right_gui",
|
||||
"right_control",
|
||||
"right_alt"
|
||||
],
|
||||
"repeat": true
|
||||
}
|
||||
],
|
||||
"type": "basic"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue