Browse Source

Updating karabiner

master
Dustin Swan 4 months ago
parent
commit
472894122d
Signed by: dustinswan GPG Key ID: AB49BD6B2B3A6377
  1. 145
      karabiner.json

145
karabiner.json

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