Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
42 lines (40 sloc) 1.75 KB
{
"title": "Change grave accent (backtick) to escape, option grave accent to grave accent",
"rules": [
{
"description": "Post Escape if grave_accent_and_tilde (backtick) is pressed alone; post grave_accent (backtick) if Option + grave_accent_and_tilde is pressed.",
"manipulators": [
{
"type": "basic",
"from": <%= from("grave_accent_and_tilde", ["left_command"], []) %>,
"to": <%= to([["grave_accent_and_tilde", ["left_command"]]]) %>
},
{
"type": "basic",
"from": <%= from("grave_accent_and_tilde", ["right_command"], []) %>,
"to": <%= to([["grave_accent_and_tilde", ["right_command"]]]) %>
},
{
"type": "basic",
"from": <%= from("grave_accent_and_tilde", ["left_option"], []) %>,
"to": <%= to([["grave_accent_and_tilde", ["left_option"]]]) %>
},
{
"type": "basic",
"from": <%= from("grave_accent_and_tilde", ["right_option"], []) %>,
"to": <%= to([["grave_accent_and_tilde", ["right_option"]]]) %>
},
{
"type": "basic",
"from": <%= from("grave_accent_and_tilde", ["left_control"], []) %>,
"to": <%= to([["grave_accent_and_tilde", ["left_control"]]]) %>
},
{
"type": "basic",
"from": <%= from("grave_accent_and_tilde", [], []) %>,
"to": <%= to([["escape"]]) %>
}
]
}
]
}