Skip to content

Instantly share code, notes, and snippets.

@brendanmckenzie
Created September 15, 2022 04:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brendanmckenzie/a8603e159d1bf85aa3b22c87cdc2703b to your computer and use it in GitHub Desktop.
Save brendanmckenzie/a8603e159d1bf85aa3b22c87cdc2703b to your computer and use it in GitHub Desktop.
{
"title": "K14 tilde",
"rules": [
{
"description": "Opt+Esc to `",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "escape",
"modifiers": {
"mandatory": ["option"]
}
},
"to": [
{
"key_code": "grave_accent_and_tilde"
}
]
}
]
},
{
"description": "Shift+Esc to ~",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "escape",
"modifiers": {
"mandatory": ["shift"]
}
},
"to": [
{
"key_code": "grave_accent_and_tilde",
"modifiers": ["shift"]
}
]
}
]
},
{
"description": "Cmd+Esc to Cmd+`",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "escape",
"modifiers": {
"mandatory": ["command"]
}
},
"to": [
{
"key_code": "grave_accent_and_tilde",
"modifiers": ["command"]
}
]
}
]
},
{
"description": "Cmd+Shift+Esc to Cmd+Shift+`",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "escape",
"modifiers": {
"mandatory": ["command", "shift"]
}
},
"to": [
{
"key_code": "grave_accent_and_tilde",
"modifiers": ["command", "shift"]
}
]
}
]
},
{
"description": "Mouse navigation",
"manipulators": [
{
"type": "basic",
"from": {
"pointing_button": "button4"
},
"to": [
{
"key_code": "open_bracket",
"modifiers": ["command"]
}
]
},
{
"type": "basic",
"from": {
"pointing_button": "button5"
},
"to": [
{
"key_code": "close_bracket",
"modifiers": ["command"]
}
]
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment