Skip to content

Commit

Permalink
Add default json
Browse files Browse the repository at this point in the history
  • Loading branch information
polskikh committed Aug 30, 2023
1 parent 35c77ef commit 94532a2
Show file tree
Hide file tree
Showing 2 changed files with 109 additions and 1 deletion.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
# karabiner
karabiner-elements config generator

# Install:
```bash
$ cp default-karabiner.json ~/.config/karabiner/karabiner.json
```
105 changes: 104 additions & 1 deletion default-karabiner.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,110 @@
"basic.to_if_held_down_threshold_milliseconds": 500,
"mouse_motion_to_scroll.speed": 100
},
"rules": []
"rules": [
{
"description": "Caps Lock to Fn",
"manipulators": [
{
"from": {
"key_code": "caps_lock",
"modifiers": {
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "fn"
}
],
"type": "basic"
}
]
},
{
"description": "Fn + H/J/K/L to Arrow Keys",
"manipulators": [
{
"from": {
"key_code": "k",
"modifiers": {
"mandatory": [
"fn"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "up_arrow"
}
],
"type": "basic"
},
{
"from": {
"key_code": "h",
"modifiers": {
"mandatory": [
"fn"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "left_arrow"
}
],
"type": "basic"
},
{
"from": {
"key_code": "j",
"modifiers": {
"mandatory": [
"fn"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "down_arrow"
}
],
"type": "basic"
},
{
"from": {
"key_code": "l",
"modifiers": {
"mandatory": [
"fn"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "right_arrow"
}
],
"type": "basic"
}
]
}
]
},
"devices": [
{
Expand Down

0 comments on commit 94532a2

Please sign in to comment.