Fixing some keyboard stuff

master
Dustin Swan 7 years ago
parent a18cf2d0b2
commit d1372f0118

@ -1,4 +0,0 @@
{
"^w" = "deleteWordBackward:";
}

@ -13,6 +13,26 @@
"rules": [
{
"manipulators": [
{
"description": "^w should delete a word backwards",
"from": {
"key_code": "comma",
"modifiers": {
"mandatory": [
"left_control"
]
}
},
"to": [
{
"key_code": "delete_or_backspace",
"modifiers": [
"option"
]
}
],
"type": "basic"
},
{
"description": "Change caps_lock to control when used as modifier, escape when used alone",
"from": {
@ -39,7 +59,65 @@
}
]
},
"devices": [],
"devices": [
{
"disable_built_in_keyboard_if_exists": false,
"fn_function_keys": [],
"identifiers": {
"is_keyboard": true,
"is_pointing_device": false,
"product_id": 1553,
"vendor_id": 3897
},
"ignore": false,
"simple_modifications": [
{
"from": {
"key_code": "escape"
},
"to": {
"key_code": "grave_accent_and_tilde"
}
},
{
"from": {
"key_code": "left_command"
},
"to": {
"key_code": "left_option"
}
},
{
"from": {
"key_code": "left_option"
},
"to": {
"key_code": "left_command"
}
},
{
"from": {
"key_code": "right_option"
},
"to": {
"key_code": "right_command"
}
}
]
},
{
"disable_built_in_keyboard_if_exists": false,
"fn_function_keys": [],
"identifiers": {
"is_keyboard": true,
"is_pointing_device": false,
"product_id": 601,
"vendor_id": 1452
},
"ignore": false,
"simple_modifications": []
}
],
"fn_function_keys": [
{
"from": {

@ -19,7 +19,6 @@ rm ~/.msmtprc; ln -s ~/dotfiles/msmtprc ~/.msmtprc
rm ~/.muttrc; ln -s ~/dotfiles/muttrc ~/.muttrc
# mac only
rm ~/Library/KeyBindings/DefaultKeyBinding.dict; cp ~/dotfiles/DefaultKeyBinding.dict ~/Library/KeyBindings/DefaultKeyBinding.dict
rm ~/.karabiner.d/configuration/karabiner.json; ln -s ~/dotfiles/karabiner.json ~/.karabiner.d/configuration/karabiner.json
rm -rf ~/.kwm; mkdir ~/.kwm; ln -s ~/dotfiles/kwmrc ~/.kwm/kwmrc
rm -rf ~/.khdrc; ln -s ~/dotfiles/khdrc ~/.khdrc

Loading…
Cancel
Save