Updating karabiner

master
Dustin Swan 2 years ago
parent e5cb55acf4
commit 472894122d
Signed by: dustinswan
GPG Key ID: AB49BD6B2B3A6377

@ -1,7 +1,7 @@
{ {
"global": { "global": {
"check_for_updates_on_startup": true, "check_for_updates_on_startup": true,
"show_in_menu_bar": true, "show_in_menu_bar": false,
"show_profile_name_in_menu_bar": false "show_profile_name_in_menu_bar": false
}, },
"profiles": [ "profiles": [
@ -45,23 +45,8 @@
"description": "Ctrl-h to backspace", "description": "Ctrl-h to backspace",
"manipulators": [ "manipulators": [
{ {
"from": {
"key_code": "j",
"modifiers": {
"mandatory": [
"control"
]
}
},
"to": [
{
"key_code": "delete_or_backspace"
}
],
"type": "basic",
"conditions": [ "conditions": [
{ {
"type": "frontmost_application_unless",
"bundle_identifiers": [ "bundle_identifiers": [
"^org\\.gnu\\.Emacs$", "^org\\.gnu\\.Emacs$",
"^org\\.gnu\\.AquamacsEmacs$", "^org\\.gnu\\.AquamacsEmacs$",
@ -102,18 +87,12 @@
"^org\\.macports\\.X11$", "^org\\.macports\\.X11$",
"^com\\.sublimetext\\.", "^com\\.sublimetext\\.",
"^com\\.microsoft\\.VSCode$" "^com\\.microsoft\\.VSCode$"
] ],
"type": "frontmost_application_unless"
} }
] ],
}
]
},
{
"description": "Ctrl-m to enter",
"manipulators": [
{
"from": { "from": {
"key_code": "m", "key_code": "j",
"modifiers": { "modifiers": {
"mandatory": [ "mandatory": [
"control" "control"
@ -122,13 +101,19 @@
}, },
"to": [ "to": [
{ {
"key_code": "return_or_enter" "key_code": "delete_or_backspace"
} }
], ],
"type": "basic", "type": "basic"
}
]
},
{
"description": "Ctrl-m to enter",
"manipulators": [
{
"conditions": [ "conditions": [
{ {
"type": "frontmost_application_unless",
"bundle_identifiers": [ "bundle_identifiers": [
"^org\\.gnu\\.Emacs$", "^org\\.gnu\\.Emacs$",
"^org\\.gnu\\.AquamacsEmacs$", "^org\\.gnu\\.AquamacsEmacs$",
@ -169,18 +154,12 @@
"^org\\.macports\\.X11$", "^org\\.macports\\.X11$",
"^com\\.sublimetext\\.", "^com\\.sublimetext\\.",
"^com\\.microsoft\\.VSCode$" "^com\\.microsoft\\.VSCode$"
] ],
"type": "frontmost_application_unless"
} }
] ],
}
]
},
{
"description": "Ctrl-w to backspace",
"manipulators": [
{
"from": { "from": {
"key_code": "comma", "key_code": "m",
"modifiers": { "modifiers": {
"mandatory": [ "mandatory": [
"control" "control"
@ -189,16 +168,19 @@
}, },
"to": [ "to": [
{ {
"key_code": "delete_or_backspace", "key_code": "return_or_enter"
"modifiers": [
"left_option"
]
} }
], ],
"type": "basic", "type": "basic"
}
]
},
{
"description": "Ctrl-w to backspace",
"manipulators": [
{
"conditions": [ "conditions": [
{ {
"type": "frontmost_application_unless",
"bundle_identifiers": [ "bundle_identifiers": [
"^org\\.gnu\\.Emacs$", "^org\\.gnu\\.Emacs$",
"^org\\.gnu\\.AquamacsEmacs$", "^org\\.gnu\\.AquamacsEmacs$",
@ -239,9 +221,27 @@
"^org\\.macports\\.X11$", "^org\\.macports\\.X11$",
"^com\\.sublimetext\\.", "^com\\.sublimetext\\.",
"^com\\.microsoft\\.VSCode$" "^com\\.microsoft\\.VSCode$"
],
"type": "frontmost_application_unless"
}
],
"from": {
"key_code": "comma",
"modifiers": {
"mandatory": [
"control"
] ]
} }
] },
"to": [
{
"key_code": "delete_or_backspace",
"modifiers": [
"left_option"
]
}
],
"type": "basic"
} }
] ]
}, },
@ -249,15 +249,8 @@
"description": "Ctrl-p to up", "description": "Ctrl-p to up",
"manipulators": [ "manipulators": [
{ {
"from": {
"key_code": "r",
"modifiers": { "mandatory": [ "control" ] }
},
"to": [ { "key_code": "up_arrow" } ],
"type": "basic",
"conditions": [ "conditions": [
{ {
"type": "frontmost_application_unless",
"bundle_identifiers": [ "bundle_identifiers": [
"^org\\.gnu\\.Emacs$", "^org\\.gnu\\.Emacs$",
"^org\\.gnu\\.AquamacsEmacs$", "^org\\.gnu\\.AquamacsEmacs$",
@ -298,9 +291,24 @@
"^org\\.macports\\.X11$", "^org\\.macports\\.X11$",
"^com\\.sublimetext\\.", "^com\\.sublimetext\\.",
"^com\\.microsoft\\.VSCode$" "^com\\.microsoft\\.VSCode$"
],
"type": "frontmost_application_unless"
}
],
"from": {
"key_code": "r",
"modifiers": {
"mandatory": [
"control"
] ]
} }
] },
"to": [
{
"key_code": "up_arrow"
}
],
"type": "basic"
} }
] ]
}, },
@ -308,15 +316,8 @@
"description": "Ctrl-n to down", "description": "Ctrl-n to down",
"manipulators": [ "manipulators": [
{ {
"from": {
"key_code": "l",
"modifiers": { "mandatory": [ "control" ] }
},
"to": [ { "key_code": "down_arrow" } ],
"type": "basic",
"conditions": [ "conditions": [
{ {
"type": "frontmost_application_unless",
"bundle_identifiers": [ "bundle_identifiers": [
"^org\\.gnu\\.Emacs$", "^org\\.gnu\\.Emacs$",
"^org\\.gnu\\.AquamacsEmacs$", "^org\\.gnu\\.AquamacsEmacs$",
@ -357,9 +358,24 @@
"^org\\.macports\\.X11$", "^org\\.macports\\.X11$",
"^com\\.sublimetext\\.", "^com\\.sublimetext\\.",
"^com\\.microsoft\\.VSCode$" "^com\\.microsoft\\.VSCode$"
],
"type": "frontmost_application_unless"
}
],
"from": {
"key_code": "l",
"modifiers": {
"mandatory": [
"control"
] ]
} }
] },
"to": [
{
"key_code": "down_arrow"
}
],
"type": "basic"
} }
] ]
} }
@ -613,8 +629,7 @@
"delay_milliseconds_before_open_device": 1000 "delay_milliseconds_before_open_device": 1000
}, },
"selected": true, "selected": true,
"simple_modifications": [ "simple_modifications": [],
],
"virtual_hid_keyboard": { "virtual_hid_keyboard": {
"caps_lock_delay_milliseconds": 0, "caps_lock_delay_milliseconds": 0,
"country_code": 0, "country_code": 0,
@ -624,4 +639,4 @@
} }
} }
] ]
} }
Loading…
Cancel
Save