Instantly share code, notes, and snippets.

Embed
What would you like to do?
{
"global" : {
"check_for_updates_on_startup" : true,
"show_in_menu_bar" : true,
"show_profile_name_in_menu_bar" : false
},
"profiles" : [ {
"complex_modifications" : {
"parameters" : {
"basic.simultaneous_threshold_milliseconds" : 50,
"basic.to_delayed_action_delay_milliseconds" : 500,
"basic.to_if_alone_timeout_milliseconds" : 1000,
"basic.to_if_held_down_threshold_milliseconds" : 500
},
"rules" : [ {
"description" : "colonkey (shift)",
"manipulators" : [ {
"from" : {
"key_code" : "q"
},
"to" : [ {
"key_code" : "q",
"modifiers" : [ "left_shift" ]
} ],
"conditions" : [ {
"name" : "semicolon-mode",
"value" : 1,
"type" : "variable_if"
} ],
"type" : "basic"
}, {
"type" : "basic",
"parameters" : {
"basic.simultaneous_threshold_milliseconds" : 250
},
"to" : [ {
"set_variable" : {
"name" : "semicolon-mode",
"value" : 1
}
}, {
"key_code" : "q",
"modifiers" : [ "left_shift" ]
} ],
"from" : {
"simultaneous" : [ {
"key_code" : "semicolon"
}, {
"key_code" : "q"
} ],
"simultaneous_options" : {
"detect_key_down_uninterruptedly" : true,
"key_down_order" : "strict",
"key_up_order" : "strict_inverse",
"key_up_when" : "any",
"to_after_key_up" : [ {
"set_variable" : {
"name" : "semicolon-mode",
"value" : 0
}
} ]
}
}
}, {
"from" : {
"key_code" : "w"
},
"to" : [ {
"key_code" : "w",
"modifiers" : [ "left_shift" ]
} ],
"conditions" : [ {
"name" : "semicolon-mode",
"value" : 1,
"type" : "variable_if"
} ],
"type" : "basic"
}, {
"type" : "basic",
"parameters" : {
"basic.simultaneous_threshold_milliseconds" : 250
},
"to" : [ {
"set_variable" : {
"name" : "semicolon-mode",
"value" : 1
}
}, {
"key_code" : "w",
"modifiers" : [ "left_shift" ]
} ],
"from" : {
"simultaneous" : [ {
"key_code" : "semicolon"
}, {
"key_code" : "w"
} ],
"simultaneous_options" : {
"detect_key_down_uninterruptedly" : true,
"key_down_order" : "strict",
"key_up_order" : "strict_inverse",
"key_up_when" : "any",
"to_after_key_up" : [ {
"set_variable" : {
"name" : "semicolon-mode",
"value" : 0
}
} ]
}
}
}, {
"from" : {
"key_code" : "e"
},
"to" : [ {
"key_code" : "e",
"modifiers" : [ "left_shift" ]
} ],
"conditions" : [ {
"name" : "semicolon-mode",
"value" : 1,
"type" : "variable_if"
} ],
"type" : "basic"
}, {
"type" : "basic",
"parameters" : {
"basic.simultaneous_threshold_milliseconds" : 250
},
"to" : [ {
"set_variable" : {
"name" : "semicolon-mode",
"value" : 1
}
}, {
"key_code" : "e",
"modifiers" : [ "left_shift" ]
} ],
"from" : {
"simultaneous" : [ {
"key_code" : "semicolon"
}, {
"key_code" : "e"
} ],
"simultaneous_options" : {
"detect_key_down_uninterruptedly" : true,
"key_down_order" : "strict",
"key_up_order" : "strict_inverse",
"key_up_when" : "any",
"to_after_key_up" : [ {
"set_variable" : {
"name" : "semicolon-mode",
"value" : 0
}
} ]
}
}
}, {
"from" : {
"key_code" : "r"
},
"to" : [ {
"key_code" : "r",
"modifiers" : [ "left_shift" ]
} ],
"conditions" : [ {
"name" : "semicolon-mode",
"value" : 1,
"type" : "variable_if"
} ],
"type" : "basic"
}, {
"type" : "basic",
"parameters" : {
"basic.simultaneous_threshold_milliseconds" : 250
},
"to" : [ {
"set_variable" : {
"name" : "semicolon-mode",
"value" : 1
}
}, {
"key_code" : "r",
"modifiers" : [ "left_shift" ]
} ],
"from" : {
"simultaneous" : [ {
"key_code" : "semicolon"
}, {
"key_code" : "r"
} ],
"simultaneous_options" : {
"detect_key_down_uninterruptedly" : true,
"key_down_order" : "strict",
"key_up_order" : "strict_inverse",
"key_up_when" : "any",
"to_after_key_up" : [ {
"set_variable" : {
"name" : "semicolon-mode",
"value" : 0
}
} ]
}
}
}, {
"from" : {
"key_code" : "t"
},
"to" : [ {
"key_code" : "t",
"modifiers" : [ "left_shift" ]
} ],
"conditions" : [ {
"name" : "semicolon-mode",
"value" : 1,
"type" : "variable_if"
} ],
"type" : "basic"
}, {
"type" : "basic",
"parameters" : {
"basic.simultaneous_threshold_milliseconds" : 250
},
"to" : [ {
"set_variable" : {
"name" : "semicolon-mode",
"value" : 1
}
}, {
"key_code" : "t",
"modifiers" : [ "left_shift" ]
} ],
"from" : {
"simultaneous" : [ {
"key_code" : "semicolon"
}, {
"key_code" : "t"
} ],
"simultaneous_options" : {
"detect_key_down_uninterruptedly" : true,
"key_down_order" : "strict",
"key_up_order" : "strict_inverse",
"key_up_when" : "any",
"to_after_key_up" : [ {
"set_variable" : {
"name" : "semicolon-mode",
"value" : 0
}
} ]
}
}
}, {
"from" : {
"key_code" : "y"
},
"to" : [ {
"key_code" : "y",
"modifiers" : [ "left_shift" ]
} ],
"conditions" : [ {
"name" : "semicolon-mode",
"value" : 1,
"type" : "variable_if"
} ],
"type" : "basic"
}, {
"type" : "basic",
"parameters" : {
"basic.simultaneous_threshold_milliseconds" : 250
},
"to" : [ {
"set_variable" : {
"name" : "semicolon-mode",
"value" : 1
}
}, {
"key_code" : "y",
"modifiers" : [ "left_shift" ]
} ],
"from" : {
"simultaneous" : [ {
"key_code" : "semicolon"
}, {
"key_code" : "y"
} ],
"simultaneous_options" : {
"detect_key_down_uninterruptedly" : true,
"key_down_order" : "strict",
"key_up_order" : "strict_inverse",
"key_up_when" : "any",
"to_after_key_up" : [ {
"set_variable" : {
"name" : "semicolon-mode",
"value" : 0
}
} ]
}
}
}, {
"from" : {
"key_code" : "u"
},
"to" : [ {
"key_code" : "u",
"modifiers" : [ "left_shift" ]
} ],
"conditions" : [ {
"name" : "semicolon-mode",
"value" : 1,
"type" : "variable_if"
} ],
"type" : "basic"
}, {
"type" : "basic",
"parameters" : {
"basic.simultaneous_threshold_milliseconds" : 250
},
"to" : [ {
"set_variable" : {
"name" : "semicolon-mode",
"value" : 1
}
}, {
"key_code" : "u",
"modifiers" : [ "left_shift" ]
} ],
"from" : {
"simultaneous" : [ {
"key_code" : "semicolon"
}, {
"key_code" : "u"
} ],
"simultaneous_options" : {
"detect_key_down_uninterruptedly" : true,
"key_down_order" : "strict",
"key_up_order" : "strict_inverse",
"key_up_when" : "any",
"to_after_key_up" : [ {
"set_variable" : {
"name" : "semicolon-mode",
"value" : 0
}
} ]
}
}
}, {
"from" : {
"key_code" : "i"
},
"to" : [ {
"key_code" : "i",
"modifiers" : [ "left_shift" ]
} ],
"conditions" : [ {
"name" : "semicolon-mode",
"value" : 1,
"type" : "variable_if"
} ],
"type" : "basic"
}, {
"type" : "basic",
"parameters" : {
"basic.simultaneous_threshold_milliseconds" : 250
},
"to" : [ {
"set_variable" : {
"name" : "semicolon-mode",
"value" : 1
}
}, {
"key_code" : "i",
"modifiers" : [ "left_shift" ]
} ],
"from" : {
"simultaneous" : [ {
"key_code" : "semicolon"
}, {
"key_code" : "i"
} ],
"simultaneous_options" : {
"detect_key_down_uninterruptedly" : true,
"key_down_order" : "strict",
"key_up_order" : "strict_inverse",
"key_up_when" : "any",
"to_after_key_up" : [ {
"set_variable" : {
"name" : "semicolon-mode",
"value" : 0
}
} ]
}
}
}, {
"from" : {
"key_code" : "o"
},
"to" : [ {
"key_code" : "o",
"modifiers" : [ "left_shift" ]
} ],
"conditions" : [ {
"name" : "semicolon-mode",
"value" : 1,
"type" : "variable_if"
} ],
"type" : "basic"
}, {
"type" : "basic",
"parameters" : {
"basic.simultaneous_threshold_milliseconds" : 250
},
"to" : [ {
"set_variable" : {
"name" : "semicolon-mode",
"value" : 1
}
}, {
"key_code" : "o",
"modifiers" : [ "left_shift" ]
} ],
"from" : {
"simultaneous" : [ {
"key_code" : "semicolon"
}, {
"key_code" : "o"
} ],
"simultaneous_options" : {
"detect_key_down_uninterruptedly" : true,
"key_down_order" : "strict",
"key_up_order" : "strict_inverse",
"key_up_when" : "any",
"to_after_key_up" : [ {
"set_variable" : {
"name" : "semicolon-mode",
"value" : 0
}
} ]
}
}
}, {
"from" : {
"key_code" : "p"
},
"to" : [ {
"key_code" : "p",
"modifiers" : [ "left_shift" ]
} ],
"conditions" : [ {
"name" : "semicolon-mode",
"value" : 1,
"type" : "variable_if"
} ],
"type" : "basic"
}, {
"type" : "basic",
"parameters" : {
"basic.simultaneous_threshold_milliseconds" : 250
},
"to" : [ {
"set_variable" : {
"name" : "semicolon-mode",
"value" : 1
}
}, {
"key_code" : "p",
"modifiers" : [ "left_shift" ]
} ],
"from" : {
"simultaneous" : [ {
"key_code" : "semicolon"
}, {
"key_code" : "p"
} ],
"simultaneous_options" : {
"detect_key_down_uninterruptedly" : true,
"key_down_order" : "strict",
"key_up_order" : "strict_inverse",
"key_up_when" : "any",
"to_after_key_up" : [ {
"set_variable" : {
"name" : "semicolon-mode",
"value" : 0
}
} ]
}
}
}, {
"from" : {
"key_code" : "a"
},
"to" : [ {
"key_code" : "a",
"modifiers" : [ "left_shift" ]
} ],
"conditions" : [ {
"name" : "semicolon-mode",
"value" : 1,
"type" : "variable_if"
} ],
"type" : "basic"
}, {
"type" : "basic",
"parameters" : {
"basic.simultaneous_threshold_milliseconds" : 250
},
"to" : [ {
"set_variable" : {
"name" : "semicolon-mode",
"value" : 1
}
}, {
"key_code" : "a",
"modifiers" : [ "left_shift" ]
} ],
"from" : {
"simultaneous" : [ {
"key_code" : "semicolon"
}, {
"key_code" : "a"
} ],
"simultaneous_options" : {
"detect_key_down_uninterruptedly" : true,
"key_down_order" : "strict",
"key_up_order" : "strict_inverse",
"key_up_when" : "any",
"to_after_key_up" : [ {
"set_variable" : {
"name" : "semicolon-mode",
"value" : 0
}
} ]
}
}
}, {
"from" : {
"key_code" : "s"
},
"to" : [ {
"key_code" : "s",
"modifiers" : [ "left_shift" ]
} ],
"conditions" : [ {
"name" : "semicolon-mode",
"value" : 1,
"type" : "variable_if"
} ],
"type" : "basic"
}, {
"type" : "basic",
"parameters" : {
"basic.simultaneous_threshold_milliseconds" : 250
},
"to" : [ {
"set_variable" : {
"name" : "semicolon-mode",
"value" : 1
}
}, {
"key_code" : "s",
"modifiers" : [ "left_shift" ]
} ],
"from" : {
"simultaneous" : [ {
"key_code" : "semicolon"
}, {
"key_code" : "s"
} ],
"simultaneous_options" : {
"detect_key_down_uninterruptedly" : true,
"key_down_order" : "strict",
"key_up_order" : "strict_inverse",
"key_up_when" : "any",
"to_after_key_up" : [ {
"set_variable" : {
"name" : "semicolon-mode",
"value" : 0
}
} ]
}
}
}, {
"from" : {
"key_code" : "d"
},
"to" : [ {
"key_code" : "d",
"modifiers" : [ "left_shift" ]
} ],
"conditions" : [ {
"name" : "semicolon-mode",
"value" : 1,
"type" : "variable_if"
} ],
"type" : "basic"
}, {
"type" : "basic",
"parameters" : {
"basic.simultaneous_threshold_milliseconds" : 250
},
"to" : [ {
"set_variable" : {
"name" : "semicolon-mode",
"value" : 1
}
}, {
"key_code" : "d",
"modifiers" : [ "left_shift" ]
} ],
"from" : {
"simultaneous" : [ {
"key_code" : "semicolon"
}, {
"key_code" : "d"
} ],
"simultaneous_options" : {
"detect_key_down_uninterruptedly" : true,
"key_down_order" : "strict",
"key_up_order" : "strict_inverse",
"key_up_when" : "any",
"to_after_key_up" : [ {
"set_variable" : {
"name" : "semicolon-mode",
"value" : 0
}
} ]
}
}
}, {
"from" : {
"key_code" : "f"
},
"to" : [ {
"key_code" : "f",
"modifiers" : [ "left_shift" ]
} ],
"conditions" : [ {
"name" : "semicolon-mode",
"value" : 1,
"type" : "variable_if"
} ],
"type" : "basic"
}, {
"type" : "basic",
"parameters" : {
"basic.simultaneous_threshold_milliseconds" : 250
},
"to" : [ {
"set_variable" : {
"name" : "semicolon-mode",
"value" : 1
}
}, {
"key_code" : "f",
"modifiers" : [ "left_shift" ]
} ],
"from" : {
"simultaneous" : [ {
"key_code" : "semicolon"
}, {
"key_code" : "f"
} ],
"simultaneous_options" : {
"detect_key_down_uninterruptedly" : true,
"key_down_order" : "strict",
"key_up_order" : "strict_inverse",
"key_up_when" : "any",
"to_after_key_up" : [ {
"set_variable" : {
"name" : "semicolon-mode",
"value" : 0
}
} ]
}
}
}, {
"from" : {
"key_code" : "g"
},
"to" : [ {
"key_code" : "g",
"modifiers" : [ "left_shift" ]
} ],
"conditions" : [ {
"name" : "semicolon-mode",
"value" : 1,
"type" : "variable_if"
} ],
"type" : "basic"
}, {
"type" : "basic",
"parameters" : {
"basic.simultaneous_threshold_milliseconds" : 250
},
"to" : [ {
"set_variable" : {
"name" : "semicolon-mode",
"value" : 1
}
}, {
"key_code" : "g",
"modifiers" : [ "left_shift" ]
} ],
"from" : {
"simultaneous" : [ {
"key_code" : "semicolon"
}, {
"key_code" : "g"
} ],
"simultaneous_options" : {
"detect_key_down_uninterruptedly" : true,
"key_down_order" : "strict",
"key_up_order" : "strict_inverse",
"key_up_when" : "any",
"to_after_key_up" : [ {
"set_variable" : {
"name" : "semicolon-mode",
"value" : 0
}
} ]
}
}
}, {
"from" : {
"key_code" : "h"
},
"to" : [ {
"key_code" : "h",
"modifiers" : [ "left_shift" ]
} ],
"conditions" : [ {
"name" : "semicolon-mode",
"value" : 1,
"type" : "variable_if"
} ],
"type" : "basic"
}, {
"type" : "basic",
"parameters" : {
"basic.simultaneous_threshold_milliseconds" : 250
},
"to" : [ {
"set_variable" : {
"name" : "semicolon-mode",
"value" : 1
}
}, {
"key_code" : "h",
"modifiers" : [ "left_shift" ]
} ],
"from" : {
"simultaneous" : [ {
"key_code" : "semicolon"
}, {
"key_code" : "h"
} ],
"simultaneous_options" : {
"detect_key_down_uninterruptedly" : true,
"key_down_order" : "strict",
"key_up_order" : "strict_inverse",
"key_up_when" : "any",
"to_after_key_up" : [ {
"set_variable" : {
"name" : "semicolon-mode",
"value" : 0
}
} ]
}
}
}, {
"from" : {
"key_code" : "j"
},
"to" : [ {
"key_code" : "j",
"modifiers" : [ "left_shift" ]
} ],
"conditions" : [ {
"name" : "semicolon-mode",
"value" : 1,
"type" : "variable_if"
} ],
"type" : "basic"
}, {
"type" : "basic",
"parameters" : {
"basic.simultaneous_threshold_milliseconds" : 250
},
"to" : [ {
"set_variable" : {
"name" : "semicolon-mode",
"value" : 1
}
}, {
"key_code" : "j",
"modifiers" : [ "left_shift" ]
} ],
"from" : {
"simultaneous" : [ {
"key_code" : "semicolon"
}, {
"key_code" : "j"
} ],
"simultaneous_options" : {
"detect_key_down_uninterruptedly" : true,
"key_down_order" : "strict",
"key_up_order" : "strict_inverse",
"key_up_when" : "any",
"to_after_key_up" : [ {
"set_variable" : {
"name" : "semicolon-mode",
"value" : 0
}
} ]
}
}
}, {
"from" : {
"key_code" : "k"
},
"to" : [ {
"key_code" : "k",
"modifiers" : [ "left_shift" ]
} ],
"conditions" : [ {
"name" : "semicolon-mode",
"value" : 1,
"type" : "variable_if"
} ],
"type" : "basic"
}, {
"type" : "basic",
"parameters" : {
"basic.simultaneous_threshold_milliseconds" : 250
},
"to" : [ {
"set_variable" : {
"name" : "semicolon-mode",
"value" : 1
}
}, {
"key_code" : "k",
"modifiers" : [ "left_shift" ]
} ],
"from" : {
"simultaneous" : [ {
"key_code" : "semicolon"
}, {
"key_code" : "k"
} ],
"simultaneous_options" : {
"detect_key_down_uninterruptedly" : true,
"key_down_order" : "strict",
"key_up_order" : "strict_inverse",
"key_up_when" : "any",
"to_after_key_up" : [ {
"set_variable" : {
"name" : "semicolon-mode",
"value" : 0
}
} ]
}
}
}, {
"from" : {
"key_code" : "l"
},
"to" : [ {
"key_code" : "l",
"modifiers" : [ "left_shift" ]
} ],
"conditions" : [ {
"name" : "semicolon-mode",
"value" : 1,
"type" : "variable_if"
} ],
"type" : "basic"
}, {
"type" : "basic",
"parameters" : {
"basic.simultaneous_threshold_milliseconds" : 250
},
"to" : [ {
"set_variable" : {
"name" : "semicolon-mode",
"value" : 1
}
}, {
"key_code" : "l",
"modifiers" : [ "left_shift" ]
} ],
"from" : {
"simultaneous" : [ {
"key_code" : "semicolon"
}, {
"key_code" : "l"
} ],
"simultaneous_options" : {
"detect_key_down_uninterruptedly" : true,
"key_down_order" : "strict",
"key_up_order" : "strict_inverse",
"key_up_when" : "any",
"to_after_key_up" : [ {
"set_variable" : {
"name" : "semicolon-mode",
"value" : 0
}
} ]
}
}
}, {
"from" : {
"key_code" : "z"
},
"to" : [ {
"key_code" : "z",
"modifiers" : [ "left_shift" ]
} ],
"conditions" : [ {
"name" : "semicolon-mode",
"value" : 1,
"type" : "variable_if"
} ],
"type" : "basic"
}, {
"type" : "basic",
"parameters" : {
"basic.simultaneous_threshold_milliseconds" : 250
},
"to" : [ {
"set_variable" : {
"name" : "semicolon-mode",
"value" : 1
}
}, {
"key_code" : "z",
"modifiers" : [ "left_shift" ]
} ],
"from" : {
"simultaneous" : [ {
"key_code" : "semicolon"
}, {
"key_code" : "z"
} ],
"simultaneous_options" : {
"detect_key_down_uninterruptedly" : true,
"key_down_order" : "strict",
"key_up_order" : "strict_inverse",
"key_up_when" : "any",
"to_after_key_up" : [ {
"set_variable" : {
"name" : "semicolon-mode",
"value" : 0
}
} ]
}
}
}, {
"from" : {
"key_code" : "x"
},
"to" : [ {
"key_code" : "x",
"modifiers" : [ "left_shift" ]
} ],
"conditions" : [ {
"name" : "semicolon-mode",
"value" : 1,
"type" : "variable_if"
} ],
"type" : "basic"
}, {
"type" : "basic",
"parameters" : {
"basic.simultaneous_threshold_milliseconds" : 250
},
"to" : [ {
"set_variable" : {
"name" : "semicolon-mode",
"value" : 1
}
}, {
"key_code" : "x",
"modifiers" : [ "left_shift" ]
} ],
"from" : {
"simultaneous" : [ {
"key_code" : "semicolon"
}, {
"key_code" : "x"
} ],
"simultaneous_options" : {
"detect_key_down_uninterruptedly" : true,
"key_down_order" : "strict",
"key_up_order" : "strict_inverse",
"key_up_when" : "any",
"to_after_key_up" : [ {
"set_variable" : {
"name" : "semicolon-mode",
"value" : 0
}
} ]
}
}
}, {
"from" : {
"key_code" : "c"
},
"to" : [ {
"key_code" : "c",
"modifiers" : [ "left_shift" ]
} ],
"conditions" : [ {
"name" : "semicolon-mode",
"value" : 1,
"type" : "variable_if"
} ],
"type" : "basic"
}, {
"type" : "basic",
"parameters" : {
"basic.simultaneous_threshold_milliseconds" : 250
},
"to" : [ {
"set_variable" : {
"name" : "semicolon-mode",
"value" : 1
}
}, {
"key_code" : "c",
"modifiers" : [ "left_shift" ]
} ],
"from" : {
"simultaneous" : [ {
"key_code" : "semicolon"
}, {
"key_code" : "c"
} ],
"simultaneous_options" : {
"detect_key_down_uninterruptedly" : true,
"key_down_order" : "strict",
"key_up_order" : "strict_inverse",
"key_up_when" : "any",
"to_after_key_up" : [ {
"set_variable" : {
"name" : "semicolon-mode",
"value" : 0
}
} ]
}
}
}, {
"from" : {
"key_code" : "v"
},
"to" : [ {
"key_code" : "v",
"modifiers" : [ "left_shift" ]
} ],
"conditions" : [ {
"name" : "semicolon-mode",
"value" : 1,
"type" : "variable_if"
} ],
"type" : "basic"
}, {
"type" : "basic",
"parameters" : {
"basic.simultaneous_threshold_milliseconds" : 250
},
"to" : [ {
"set_variable" : {
"name" : "semicolon-mode",
"value" : 1
}
}, {
"key_code" : "v",
"modifiers" : [ "left_shift" ]
} ],
"from" : {
"simultaneous" : [ {
"key_code" : "semicolon"
}, {
"key_code" : "v"
} ],
"simultaneous_options" : {
"detect_key_down_uninterruptedly" : true,
"key_down_order" : "strict",
"key_up_order" : "strict_inverse",
"key_up_when" : "any",
"to_after_key_up" : [ {
"set_variable" : {
"name" : "semicolon-mode",
"value" : 0
}
} ]
}
}
}, {
"from" : {
"key_code" : "b"
},
"to" : [ {
"key_code" : "b",
"modifiers" : [ "left_shift" ]
} ],
"conditions" : [ {
"name" : "semicolon-mode",
"value" : 1,
"type" : "variable_if"
} ],
"type" : "basic"
}, {
"type" : "basic",
"parameters" : {
"basic.simultaneous_threshold_milliseconds" : 250
},
"to" : [ {
"set_variable" : {
"name" : "semicolon-mode",
"value" : 1
}
}, {
"key_code" : "b",
"modifiers" : [ "left_shift" ]
} ],
"from" : {
"simultaneous" : [ {
"key_code" : "semicolon"
}, {
"key_code" : "b"
} ],
"simultaneous_options" : {
"detect_key_down_uninterruptedly" : true,
"key_down_order" : "strict",
"key_up_order" : "strict_inverse",
"key_up_when" : "any",
"to_after_key_up" : [ {
"set_variable" : {
"name" : "semicolon-mode",
"value" : 0
}
} ]
}
}
}, {
"from" : {
"key_code" : "n"
},
"to" : [ {
"key_code" : "n",
"modifiers" : [ "left_shift" ]
} ],
"conditions" : [ {
"name" : "semicolon-mode",
"value" : 1,
"type" : "variable_if"
} ],
"type" : "basic"
}, {
"type" : "basic",
"parameters" : {
"basic.simultaneous_threshold_milliseconds" : 250
},
"to" : [ {
"set_variable" : {
"name" : "semicolon-mode",
"value" : 1
}
}, {
"key_code" : "n",
"modifiers" : [ "left_shift" ]
} ],
"from" : {
"simultaneous" : [ {
"key_code" : "semicolon"
}, {
"key_code" : "n"
} ],
"simultaneous_options" : {
"detect_key_down_uninterruptedly" : true,
"key_down_order" : "strict",
"key_up_order" : "strict_inverse",
"key_up_when" : "any",
"to_after_key_up" : [ {
"set_variable" : {
"name" : "semicolon-mode",
"value" : 0
}
} ]
}
}
}, {
"from" : {
"key_code" : "m"
},
"to" : [ {
"key_code" : "m",
"modifiers" : [ "left_shift" ]
} ],
"conditions" : [ {
"name" : "semicolon-mode",
"value" : 1,
"type" : "variable_if"
} ],
"type" : "basic"
}, {
"type" : "basic",
"parameters" : {
"basic.simultaneous_threshold_milliseconds" : 250
},
"to" : [ {
"set_variable" : {
"name" : "semicolon-mode",
"value" : 1
}
}, {
"key_code" : "m",
"modifiers" : [ "left_shift" ]
} ],
"from" : {
"simultaneous" : [ {
"key_code" : "semicolon"
}, {
"key_code" : "m"
} ],
"simultaneous_options" : {
"detect_key_down_uninterruptedly" : true,
"key_down_order" : "strict",
"key_up_order" : "strict_inverse",
"key_up_when" : "any",
"to_after_key_up" : [ {
"set_variable" : {
"name" : "semicolon-mode",
"value" : 0
}
} ]
}
}
}, {
"from" : {
"key_code" : "1"
},
"to" : [ {
"key_code" : "1",
"modifiers" : [ "left_control" ]
} ],
"conditions" : [ {
"name" : "semicolon-mode",
"value" : 1,
"type" : "variable_if"
} ],
"type" : "basic"
}, {
"type" : "basic",
"parameters" : {
"basic.simultaneous_threshold_milliseconds" : 250
},
"to" : [ {
"set_variable" : {
"name" : "semicolon-mode",
"value" : 1
}
}, {
"key_code" : "1",
"modifiers" : [ "left_control" ]
} ],
"from" : {
"simultaneous" : [ {
"key_code" : "semicolon"
}, {
"key_code" : "1"
} ],
"simultaneous_options" : {
"detect_key_down_uninterruptedly" : true,
"key_down_order" : "strict",
"key_up_order" : "strict_inverse",
"key_up_when" : "any",
"to_after_key_up" : [ {
"set_variable" : {
"name" : "semicolon-mode",
"value" : 0
}
} ]
}
}
}, {
"from" : {
"key_code" : "2"
},
"to" : [ {
"key_code" : "2",
"modifiers" : [ "left_control" ]
} ],
"conditions" : [ {
"name" : "semicolon-mode",
"value" : 1,
"type" : "variable_if"
} ],
"type" : "basic"
}, {
"type" : "basic",
"parameters" : {
"basic.simultaneous_threshold_milliseconds" : 250
},
"to" : [ {
"set_variable" : {
"name" : "semicolon-mode",
"value" : 1
}
}, {
"key_code" : "2",
"modifiers" : [ "left_control" ]
} ],
"from" : {
"simultaneous" : [ {
"key_code" : "semicolon"
}, {
"key_code" : "2"
} ],
"simultaneous_options" : {
"detect_key_down_uninterruptedly" : true,
"key_down_order" : "strict",
"key_up_order" : "strict_inverse",
"key_up_when" : "any",
"to_after_key_up" : [ {
"set_variable" : {
"name" : "semicolon-mode",
"value" : 0
}
} ]
}
}
}, {
"from" : {
"key_code" : "3"
},
"to" : [ {
"key_code" : "3",
"modifiers" : [ "left_control" ]
} ],
"conditions" : [ {
"name" : "semicolon-mode",
"value" : 1,
"type" : "variable_if"
} ],
"type" : "basic"
}, {
"type" : "basic",
"parameters" : {
"basic.simultaneous_threshold_milliseconds" : 250
},
"to" : [ {
"set_variable" : {
"name" : "semicolon-mode",
"value" : 1
}
}, {
"key_code" : "3",
"modifiers" : [ "left_control" ]
} ],
"from" : {
"simultaneous" : [ {
"key_code" : "semicolon"
}, {
"key_code" : "3"
} ],
"simultaneous_options" : {
"detect_key_down_uninterruptedly" : true,
"key_down_order" : "strict",
"key_up_order" : "strict_inverse",
"key_up_when" : "any",
"to_after_key_up" : [ {
"set_variable" : {
"name" : "semicolon-mode",
"value" : 0
}
} ]
}
}
}, {
"from" : {
"key_code" : "4"
},
"to" : [ {
"key_code" : "4",
"modifiers" : [ "left_control" ]
} ],
"conditions" : [ {
"name" : "semicolon-mode",
"value" : 1,
"type" : "variable_if"
} ],
"type" : "basic"
}, {
"type" : "basic",
"parameters" : {
"basic.simultaneous_threshold_milliseconds" : 250
},
"to" : [ {
"set_variable" : {
"name" : "semicolon-mode",
"value" : 1
}
}, {
"key_code" : "4",
"modifiers" : [ "left_control" ]
} ],
"from" : {
"simultaneous" : [ {
"key_code" : "semicolon"
}, {
"key_code" : "4"
} ],
"simultaneous_options" : {
"detect_key_down_uninterruptedly" : true,
"key_down_order" : "strict",
"key_up_order" : "strict_inverse",
"key_up_when" : "any",
"to_after_key_up" : [ {
"set_variable" : {
"name" : "semicolon-mode",
"value" : 0
}
} ]
}
}
}, {
"from" : {
"key_code" : "5"
},
"to" : [ {
"key_code" : "5",
"modifiers" : [ "left_control" ]
} ],
"conditions" : [ {
"name" : "semicolon-mode",
"value" : 1,
"type" : "variable_if"
} ],
"type" : "basic"
}, {
"type" : "basic",
"parameters" : {
"basic.simultaneous_threshold_milliseconds" : 250
},
"to" : [ {
"set_variable" : {
"name" : "semicolon-mode",
"value" : 1
}
}, {
"key_code" : "5",
"modifiers" : [ "left_control" ]
} ],
"from" : {
"simultaneous" : [ {
"key_code" : "semicolon"
}, {
"key_code" : "5"
} ],
"simultaneous_options" : {
"detect_key_down_uninterruptedly" : true,
"key_down_order" : "strict",
"key_up_order" : "strict_inverse",
"key_up_when" : "any",
"to_after_key_up" : [ {
"set_variable" : {
"name" : "semicolon-mode",
"value" : 0
}
} ]
}
}
}, {
"from" : {
"key_code" : "6"
},
"to" : [ {
"key_code" : "6",
"modifiers" : [ "left_control" ]
} ],
"conditions" : [ {
"name" : "semicolon-mode",
"value" : 1,
"type" : "variable_if"
} ],
"type" : "basic"
}, {
"type" : "basic",
"parameters" : {
"basic.simultaneous_threshold_milliseconds" : 250
},
"to" : [ {
"set_variable" : {
"name" : "semicolon-mode",
"value" : 1
}
}, {
"key_code" : "6",
"modifiers" : [ "left_control" ]
} ],
"from" : {
"simultaneous" : [ {
"key_code" : "semicolon"
}, {
"key_code" : "6"
} ],
"simultaneous_options" : {
"detect_key_down_uninterruptedly" : true,
"key_down_order" : "strict",
"key_up_order" : "strict_inverse",
"key_up_when" : "any",
"to_after_key_up" : [ {
"set_variable" : {
"name" : "semicolon-mode",
"value" : 0
}
} ]
}
}
} ]
}, {
"description" : "2key (move)",
"manipulators" : [ {
"from" : {
"key_code" : "j"
},
"to" : [ {
"key_code" : "down_arrow",
"modifiers" : [ "left_command" ]
} ],
"conditions" : [ {
"name" : "2-mode",
"value" : 1,
"type" : "variable_if"
} ],
"type" : "basic"
}, {
"type" : "basic",
"parameters" : {
"basic.simultaneous_threshold_milliseconds" : 250
},
"to" : [ {
"set_variable" : {
"name" : "2-mode",
"value" : 1
}
}, {
"key_code" : "down_arrow",
"modifiers" : [ "left_command" ]
} ],
"from" : {
"simultaneous" : [ {
"key_code" : "2"
}, {
"key_code" : "j"
} ],
"simultaneous_options" : {
"detect_key_down_uninterruptedly" : true,
"key_down_order" : "strict",
"key_up_order" : "strict_inverse",
"key_up_when" : "any",
"to_after_key_up" : [ {
"set_variable" : {
"name" : "2-mode",
"value" : 0
}
} ]
}
}
}, {
"from" : {
"key_code" : "quote"
},
"to" : [ {
"key_code" : "down_arrow",
"modifiers" : [ "left_option" ]
} ],
"conditions" : [ {
"name" : "2-mode",
"value" : 1,
"type" : "variable_if"
} ],
"type" : "basic"
}, {
"type" : "basic",
"parameters" : {
"basic.simultaneous_threshold_milliseconds" : 250
},
"to" : [ {
"set_variable" : {
"name" : "2-mode",
"value" : 1
}
}, {
"key_code" : "down_arrow",
"modifiers" : [ "left_option" ]
} ],
"from" : {
"simultaneous" : [ {
"key_code" : "2"
}, {
"key_code" : "quote"
} ],
"simultaneous_options" : {
"detect_key_down_uninterruptedly" : true,
"key_down_order" : "strict",
"key_up_order" : "strict_inverse",
"key_up_when" : "any",
"to_after_key_up" : [ {
"set_variable" : {
"name" : "2-mode",
"value" : 0
}
} ]
}
}
}, {
"from" : {
"key_code" : "semicolon"
},
"to" : [ {
"key_code" : "up_arrow",
"modifiers" : [ "left_option" ]
} ],
"conditions" : [ {
"name" : "2-mode",
"value" : 1,
"type" : "variable_if"
} ],
"type" : "basic"
}, {
"type" : "basic",
"parameters" : {
"basic.simultaneous_threshold_milliseconds" : 250
},
"to" : [ {
"set_variable" : {
"name" : "2-mode",
"value" : 1
}
}, {
"key_code" : "up_arrow",
"modifiers" : [ "left_option" ]
} ],
"from" : {
"simultaneous" : [ {
"key_code" : "2"
}, {
"key_code" : "semicolon"
} ],
"simultaneous_options" : {
"detect_key_down_uninterruptedly" : true,
"key_down_order" : "strict",
"key_up_order" : "strict_inverse",
"key_up_when" : "any",
"to_after_key_up" : [ {
"set_variable" : {
"name" : "2-mode",
"value" : 0
}
} ]
}
}
}, {
"from" : {
"key_code" : "k"
},
"to" : [ {
"key_code" : "up_arrow",
"modifiers" : [ "left_command" ]
} ],
"conditions" : [ {
"name" : "2-mode",
"value" : 1,
"type" : "variable_if"
} ],
"type" : "basic"
}, {
"type" : "basic",
"parameters" : {
"basic.simultaneous_threshold_milliseconds" : 250
},
"to" : [ {
"set_variable" : {
"name" : "2-mode",
"value" : 1
}
}, {
"key_code" : "up_arrow",
"modifiers" : [ "left_command" ]
} ],
"from" : {
"simultaneous" : [ {
"key_code" : "2"
}, {
"key_code" : "k"
} ],
"simultaneous_options" : {
"detect_key_down_uninterruptedly" : true,
"key_down_order" : "strict",
"key_up_order" : "strict_inverse",
"key_up_when" : "any",
"to_after_key_up" : [ {
"set_variable" : {
"name" : "2-mode",
"value" : 0
}
} ]
}
}
}, {
"from" : {
"key_code" : "l"
},
"to" : [ {
"key_code" : "right_arrow",
"modifiers" : [ "left_command" ]
} ],
"conditions" : [ {
"name" : "2-mode",
"value" : 1,
"type" : "variable_if"
} ],
"type" : "basic"
}, {
"type" : "basic",
"parameters" : {
"basic.simultaneous_threshold_milliseconds" : 250
},
"to" : [ {
"set_variable" : {
"name" : "2-mode",
"value" : 1
}
}, {
"key_code" : "right_arrow",
"modifiers" : [ "left_command" ]
} ],
"from" : {
"simultaneous" : [ {
"key_code" : "2"
}, {
"key_code" : "l"
} ],
"simultaneous_options" : {
"detect_key_down_uninterruptedly" : true,
"key_down_order" : "strict",
"key_up_order" : "strict_inverse",
"key_up_when" : "any",
"to_after_key_up" : [ {
"set_variable" : {
"name" : "2-mode",
"value" : 0
}
} ]
}
}
}, {
"from" : {
"key_code" : "h"
},
"to" : [ {
"key_code" : "left_arrow",
"modifiers" : [ "left_command" ]
} ],
"conditions" : [ {
"name" : "2-mode",
"value" : 1,
"type" : "variable_if"
} ],
"type" : "basic"
}, {
"type" : "basic",
"parameters" : {
"basic.simultaneous_threshold_milliseconds" : 250
},
"to" : [ {
"set_variable" : {
"name" : "2-mode",
"value" : 1
}
}, {
"key_code" : "left_arrow",
"modifiers" : [ "left_command" ]
} ],
"from" : {
"simultaneous" : [ {
"key_code" : "2"
}, {
"key_code" : "h"
} ],
"simultaneous_options" : {
"detect_key_down_uninterruptedly" : true,
"key_down_order" : "strict",
"key_up_order" : "strict_inverse",
"key_up_when" : "any",
"to_after_key_up" : [ {
"set_variable" : {
"name" : "2-mode",
"value" : 0
}
} ]
}
}
} ]
}, {
"description" : "3key (test)",
"manipulators" : [ {
"from" : {
"key_code" : "j"
},
"to" : [ {
"shell_command" : "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"test: JavaScript\"'"
} ],
"conditions" : [ {
"name" : "3-mode",
"value" : 1,
"type" : "variable_if"
} ],
"type" : "basic"
}, {
"type" : "basic",
"parameters" : {
"basic.simultaneous_threshold_milliseconds" : 250
},
"to" : [ {
"set_variable" : {
"name" : "3-mode",
"value" : 1
}
}, {
"shell_command" : "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"test: JavaScript\"'"
} ],
"from" : {
"simultaneous" : [ {
"key_code" : "3"
}, {
"key_code" : "j"
} ],
"simultaneous_options" : {
"detect_key_down_uninterruptedly" : true,
"key_down_order" : "strict",
"key_up_order" : "strict_inverse",
"key_up_when" : "any",
"to_after_key_up" : [ {
"set_variable" : {
"name" : "3-mode",
"value" : 0
}
} ]
}
}
} ]
}, {
"description" : "swap keys",
"manipulators" : [ {
"from" : {
"key_code" : "semicolon",
"modifiers" : {
"optional" : [ "caps_lock" ]
}
},
"to" : [ {
"key_code" : "semicolon",
"modifiers" : [ "left_shift" ]
} ],
"type" : "basic"
}, {
"from" : {
"key_code" : "semicolon",
"modifiers" : {
"mandatory" : [ "left_shift" ]
}
},
"to" : [ {
"key_code" : "semicolon"
} ],
"type" : "basic"
} ]
}, {
"description" : "right cmd -> Alfred",
"manipulators" : [ {
"to_if_alone" : [ {
"key_code" : "spacebar",
"modifiers" : [ "left_command", "left_control", "left_option", "left_shift" ]
} ],
"from" : {
"key_code" : "right_command"
},
"to" : [ {
"key_code" : "right_command"
} ],
"type" : "basic"
} ]
}, {
"description" : "jsim",
"manipulators" : [ {
"from" : {
"simultaneous" : [ {
"key_code" : "j"
}, {
"key_code" : "k"
} ],
"simultaneous_options" : {
"detect_key_down_uninterruptedly" : false,
"key_down_order" : "insensitive",
"key_up_order" : "insensitive",
"key_up_when" : "any"
}
},
"to" : [ {
"shell_command" : "osascript -e 'tell application \"Alfred 3\" to run trigger \"search google\" in workflow \"net.deanishe.alfred-searchio\" with argument \"\"'"
} ],
"type" : "basic"
}, {
"from" : {
"simultaneous" : [ {
"key_code" : "j"
}, {
"key_code" : "semicolon"
} ],
"simultaneous_options" : {
"detect_key_down_uninterruptedly" : false,
"key_down_order" : "insensitive",
"key_up_order" : "insensitive",
"key_up_when" : "any"
}
},
"to" : [ {
"shell_command" : "osascript -e 'tell application \"Alfred 3\" to run trigger \"search tabs\" in workflow \"net.deanishe.alfred.safari\" with argument \"\"'"
} ],
"type" : "basic"
}, {
"from" : {
"simultaneous" : [ {
"key_code" : "j"
}, {
"key_code" : "l"
} ],
"simultaneous_options" : {
"detect_key_down_uninterruptedly" : false,
"key_down_order" : "insensitive",
"key_up_order" : "insensitive",
"key_up_when" : "any"
}
},
"to" : [ {
"key_code" : "spacebar",
"modifiers" : [ "left_command", "left_control", "left_option", "left_shift" ]
} ],
"type" : "basic"
} ]
}, {
"description" : "ksim",
"manipulators" : [ {
"from" : {
"simultaneous" : [ {
"key_code" : "k"
}, {
"key_code" : "l"
} ],
"simultaneous_options" : {
"detect_key_down_uninterruptedly" : false,
"key_down_order" : "insensitive",
"key_up_order" : "insensitive",
"key_up_when" : "any"
}
},
"to" : [ {
"shell_command" : "osascript -e 'tell application \"Alfred 3\" to run trigger \"search dash\" in workflow \"com.nikivi.own.dash\" with argument \"\"'"
} ],
"type" : "basic"
}, {
"from" : {
"simultaneous" : [ {
"key_code" : "k"
}, {
"key_code" : "m"
} ],
"simultaneous_options" : {
"detect_key_down_uninterruptedly" : false,
"key_down_order" : "insensitive",
"key_up_order" : "insensitive",
"key_up_when" : "any"
}
},
"to" : [ {
"shell_command" : "osascript -e 'tell application \"Alfred 3\" to run trigger \"search youtube\" in workflow \"net.deanishe.alfred-searchio\" with argument \"\"'"
} ],
"type" : "basic"
}, {
"from" : {
"simultaneous" : [ {
"key_code" : "k"
}, {
"key_code" : "n"
} ],
"simultaneous_options" : {
"detect_key_down_uninterruptedly" : false,
"key_down_order" : "insensitive",
"key_up_order" : "insensitive",
"key_up_when" : "any"
}
},
"to" : [ {
"shell_command" : "osascript -e 'tell application \"Alfred 3\" to run trigger \"search history\" in workflow \"net.deanishe.alfred.safari\" with argument \"\"'"
} ],
"type" : "basic"
}, {
"from" : {
"simultaneous" : [ {
"key_code" : "k"
}, {
"key_code" : "spacebar"
} ],
"simultaneous_options" : {
"detect_key_down_uninterruptedly" : false,
"key_down_order" : "insensitive",
"key_up_order" : "insensitive",
"key_up_when" : "any"
}
},
"to" : [ {
"shell_command" : "osascript -e 'tell application \"Alfred 3\" to run trigger \"search dash profiles\" in workflow \"nikivi.dash.profiles\" with argument \"\"'"
} ],
"type" : "basic"
} ]
}, {
"description" : "qkey (cmd + shift)",
"manipulators" : [ {
"from" : {
"key_code" : "open_bracket"
},
"to" : [ {
"key_code" : "open_bracket",
"modifiers" : [ "left_command", "left_shift" ]
} ],
"conditions" : [ {
"name" : "q-mode",
"value" : 1,
"type" : "variable_if"
} ],
"type" : "basic"
}, {
"type" : "basic",
"parameters" : {
"basic.simultaneous_threshold_milliseconds" : 250
},
"to" : [ {
"set_variable" : {
"name" : "q-mode",
"value" : 1
}
}, {
"key_code" : "open_bracket",
"modifiers" : [ "left_command", "left_shift" ]
} ],
"from" : {
"simultaneous" : [ {
"key_code" : "q"
}, {
"key_code" : "open_bracket"
} ],
"simultaneous_options" : {
"detect_key_down_uninterruptedly" : true,
"key_down_order" : "strict",
"key_up_order" : "strict_inverse",
"key_up_when" : "any",
"to_after_key_up" : [ {
"set_variable" : {
"name" : "q-mode",
"value" : 0
}
} ]
}
}
}, {
"from" : {
"key_code" : "spacebar"
},
"to" : [ {
"key_code" : "7",
"modifiers" : [ "left_command", "left_control" ]
} ],
"conditions" : [ {
"name" : "q-mode",
"value" : 1,
"type" : "variable_if"
} ],
"type" : "basic"
}, {
"type" : "basic",
"parameters" : {
"basic.simultaneous_threshold_milliseconds" : 250
},
"to" : [ {
"set_variable" : {
"name" : "q-mode",
"value" : 1
}
}, {
"key_code" : "7",
"modifiers" : [ "left_command", "left_control" ]
} ],
"from" : {
"simultaneous" : [ {
"key_code" : "q"
}, {
"key_code" : "spacebar"
} ],
"simultaneous_options" : {
"detect_key_down_uninterruptedly" : true,
"key_down_order" : "strict",
"key_up_order" : "strict_inverse",
"key_up_when" : "any",
"to_after_key_up" : [ {
"set_variable" : {
"name" : "q-mode",
"value" : 0
}
} ]
}
}
}, {
"from" : {
"key_code" : "close_bracket"
},
"to" : [ {
"key_code" : "close_bracket",
"modifiers" : [ "left_command", "left_shift" ]
} ],
"conditions" : [ {
"name" : "q-mode",
"value" : 1,
"type" : "variable_if"
} ],
"type" : "basic"
}, {
"type" : "basic",
"parameters" : {
"basic.simultaneous_threshold_milliseconds" : 250
},
"to" : [ {
"set_variable" : {
"name" : "q-mode",
"value" : 1
}
}, {
"key_code" : "close_bracket",
"modifiers" : [ "left_command", "left_shift" ]
} ],
"from" : {
"simultaneous" : [ {
"key_code" : "q"
}, {
"key_code" : "close_bracket"
} ],
"simultaneous_options" : {
"detect_key_down_uninterruptedly" : true,
"key_down_order" : "strict",
"key_up_order" : "strict_inverse",
"key_up_when" : "any",
"to_after_key_up" : [ {
"set_variable" : {
"name" : "q-mode",
"value" : 0
}
} ]
}
}
}, {
"from" : {
"key_code" : "semicolon"
},
"to" : [ {
"key_code" : "semicolon",
"modifiers" : [ "left_command", "left_shift" ]
} ],
"conditions" : [ {
"name" : "q-mode",
"value" : 1,
"type" : "variable_if"
} ],
"type" : "basic"
}, {
"type" : "basic",
"parameters" : {
"basic.simultaneous_threshold_milliseconds" : 250
},
"to" : [ {
"set_variable" : {
"name" : "q-mode",
"value" : 1
}
}, {
"key_code" : "semicolon",
"modifiers" : [ "left_command", "left_shift" ]
} ],
"from" : {
"simultaneous" : [ {
"key_code" : "q"
}, {
"key_code" : "semicolon"
} ],
"simultaneous_options" : {
"detect_key_down_uninterruptedly" : true,
"key_down_order" : "strict",
"key_up_order" : "strict_inverse",
"key_up_when" : "any",
"to_after_key_up" : [ {
"set_variable" : {
"name" : "q-mode",
"value" : 0
}
} ]
}
}
}, {
"from" : {
"key_code" : "quote"
},
"to" : [ {
"key_code" : "quote",
"modifiers" : [ "left_command", "left_shift" ]
} ],
"conditions" : [ {
"name" : "q-mode",
"value" : 1,
"type" : "variable_if"
} ],
"type" : "basic"
}, {
"type" : "basic",
"parameters" : {
"basic.simultaneous_threshold_milliseconds" : 250
},
"to" : [ {
"set_variable" : {
"name" : "q-mode",
"value" : 1
}
}, {
"key_code" : "quote",
"modifiers" : [ "left_command", "left_shift" ]
} ],
"from" : {
"simultaneous" : [ {
"key_code" : "q"
}, {
"key_code" : "quote"
} ],
"simultaneous_options" : {
"detect_key_down_uninterruptedly" : true,
"key_down_order" : "strict",
"key_up_order" : "strict_inverse",
"key_up_when" : "any",
"to_after_key_up" : [ {
"set_variable" : {
"name" : "q-mode",
"value" : 0
}
} ]
}
}
}, {
"from" : {
"key_code" : "comma"
},
"to" : [ {
"key_code" : "comma",
"modifiers" : [ "left_command", "left_shift" ]
} ],
"conditions" : [ {
"name" : "q-mode",
"value" : 1,
"type" : "variable_if"
} ],
"type" : "basic"
}, {
"type" : "basic",
"parameters" : {
"basic.simultaneous_threshold_milliseconds" : 250
},
"to" : [ {
"set_variable" : {
"name" : "q-mode",
"value" : 1
}
}, {
"key_code" : "comma",
"modifiers" : [ "left_command", "left_shift" ]
} ],
"from" : {
"simultaneous" : [ {
"key_code" : "q"
}, {
"key_code" : "comma"
} ],
"simultaneous_options" : {
"detect_key_down_uninterruptedly" : true,
"key_down_order" : "strict",
"key_up_order" : "strict_inverse",
"key_up_when" : "any",
"to_after_key_up" : [ {
"set_variable" : {
"name" : "q-mode",
"value" : 0
}
} ]
}
}
}, {
"from" : {
"key_code" : "period"
},
"to" : [ {
"key_code" : "period",
"modifiers" : [ "left_command", "left_shift" ]
} ],
"conditions" : [ {
"name" : "q-mode",
"value" : 1,
"type" : "variable_if"
} ],
"type" : "basic"
}, {
"type" : "basic",
"parameters" : {
"basic.simultaneous_threshold_milliseconds" : 250
},
"to" : [ {
"set_variable" : {
"name" : "q-mode",
"value" : 1
}
}, {
"key_code" : "period",
"modifiers" : [ "left_command", "left_shift" ]
} ],
"from" : {
"simultaneous" : [ {
"key_code" : "q"
}, {
"key_code" : "period"
} ],
"simultaneous_options" : {
"detect_key_down_uninterruptedly" : true,
"key_down_order" : "strict",
"key_up_order" : "strict_inverse",
"key_up_when" : "any",
"to_after_key_up" : [ {
"set_variable" : {
"name" : "q-mode",
"value" : 0
}
} ]
}
}
}, {
"from" : {
"key_code" : "slash"
},
"to" : [ {
"key_code" : "slash",
"modifiers" : [ "left_command", "left_shift" ]
} ],
"conditions" : [ {
"name" : "q-mode",
"value" : 1,
"type" : "variable_if"
} ],
"type" : "basic"
}, {
"type" : "basic",
"parameters" : {
"basic.simultaneous_threshold_milliseconds" : 250
},
"to" : [ {
"set_variable" : {
"name" : "q-mode",
"value" : 1
}
}, {
"key_code" : "slash",
"modifiers" : [ "left_command", "left_shift" ]
} ],
"from" : {
"simultaneous" : [ {
"key_code" : "q"
}, {
"key_code" : "slash"
} ],
"simultaneous_options" : {
"detect_key_down_uninterruptedly" : true,
"key_down_order" : "strict",
"key_up_order" : "strict_inverse",
"key_up_when" : "any",
"to_after_key_up" : [ {
"set_variable" : {
"name" : "q-mode",
"value" : 0
}
} ]
}
}
}, {
"from" : {
"key_code" : "a"
},
"to" : [ {
"key_code" : "a",
"modifiers" : [ "left_command", "left_shift" ]
} ],
"conditions" : [ {
"name" : "q-mode",
"value" : 1,
"type" : "variable_if"
} ],
"type" : "basic"
}, {
"type" : "basic",
"parameters" : {
"basic.simultaneous_threshold_milliseconds" : 250
},
"to" : [ {
"set_variable" : {
"name" : "q-mode",
"value" : 1
}
}, {
"key_code" : "a",
"modifiers" : [ "left_command", "left_shift" ]
} ],
"from" : {
"simultaneous" : [ {
"key_code" : "q"
}, {
"key_code" : "a"
} ],
"simultaneous_options" : {
"detect_key_down_uninterruptedly" : true,
"key_down_order" : "strict",
"key_up_order" : "strict_inverse",
"key_up_when" : "any",
"to_after_key_up" : [ {
"set_variable" : {
"name" : "q-mode",
"value" : 0
}
} ]
}
}
}, {
"from" : {
"key_code" : "b"
},
"to" : [ {
"key_code" : "b",
"modifiers" : [ "left_command", "left_shift" ]
} ],
"conditions" : [ {
"name" : "q-mode",
"value" : 1,
"type" : "variable_if"
} ],
"type" : "basic"
}, {
"type" : "basic",
"parameters" : {
"basic.simultaneous_threshold_milliseconds" : 250
},
"to" : [ {
"set_variable" : {
"name" : "q-mode",
"value" : 1
}
}, {
"key_code" : "b",
"modifiers" : [ "left_command", "left_shift" ]
} ],
"from" : {
"simultaneous" : [ {
"key_code" : "q"
}, {
"key_code" : "b"
} ],
"simultaneous_options" : {
"detect_key_down_uninterruptedly" : true,
"key_down_order" : "strict",
"key_up_order" : "strict_inverse",
"key_up_when" : "any",
"to_after_key_up" : [ {
"set_variable" : {
"name" : "q-mode",
"value" : 0
}
} ]
}
}
}, {
"from" : {
"key_code" : "c"
},
"to" : [ {
"key_code" : "c",
"modifiers" : [ "left_command", "left_shift" ]
} ],
"conditions" : [ {
"name" : "q-mode",
"value" : 1,
"type" : "variable_if"
} ],
"type" : "basic"
}, {
"type" : "basic",
"parameters" : {
"basic.simultaneous_threshold_milliseconds" : 250
},
"to" : [ {
"set_variable" : {
"name" : "q-mode",
"value" : 1
}
}, {
"key_code" : "c",
"modifiers" : [ "left_command", "left_shift" ]
} ],
"from" : {
"simultaneous" : [ {
"key_code" : "q"
}, {
"key_code" : "c"
} ],
"simultaneous_options" : {
"detect_key_down_uninterruptedly" : true,
"key_down_order" : "strict",
"key_up_order" : "strict_inverse",
"key_up_when" : "any",
"to_after_key_up" : [ {
"set_variable" : {
"name" : "q-mode",
"value" : 0
}
} ]
}
}
}, {
"from" : {
"key_code" : "d"
},
"to" : [ {
"key_code" : "d",
"modifiers" : [ "left_command", "left_shift" ]
} ],
"conditions" : [ {
"name" : "q-mode",
"value" : 1,
"type" : "variable_if"
} ],
"type" : "basic"
}, {
"type" : "basic",
"parameters" : {
"basic.simultaneous_threshold_milliseconds" : 250
},
"to" : [ {
"set_variable" : {
"name" : "q-mode",
"value" : 1
}
}, {
"key_code" : "d",
"modifiers" : [ "left_command", "left_shift" ]
} ],
"from" : {
"simultaneous" : [ {
"key_code" : "q"
}, {
"key_code" : "d"
} ],
"simultaneous_options" : {
"detect_key_down_uninterruptedly" : true,
"key_down_order" : "strict",
"key_up_order" : "strict_inverse",
"key_up_when" : "any",
"to_after_key_up" : [ {
"set_variable" : {
"name" : "q-mode",
"value" : 0
}
} ]
}
}
}, {
"from" : {
"key_code" : "e"
},
"to" : [ {
"key_code" : "e",
"modifiers" : [ "left_command", "left_shift" ]
} ],
"conditions" : [ {
"name" : "q-mode",
"value" : 1,
"type" : "variable_if"
} ],
"type" : "basic"
}, {
"type" : "basic",
"parameters" : {
"basic.simultaneous_threshold_milliseconds" : 250
},
"to" : [ {
"set_variable" : {
"name" : "q-mode",
"value" : 1
}
}, {
"key_code" : "e",
"modifiers" : [ "left_command", "left_shift" ]
} ],
"from" : {
"simultaneous" : [ {
"key_code" : "q"
}, {
"key_code" : "e"
} ],
"simultaneous_options" : {
"detect_key_down_uninterruptedly" : true,
"key_down_order" : "strict",
"key_up_order" : "strict_inverse",
"key_up_when" : "any",
"to_after_key_up" : [ {
"set_variable" : {
"name" : "q-mode",
"value" : 0
}
} ]
}
}
}, {
"from" : {
"key_code" : "f"
},
"to" : [ {
"key_code" : "f",
"modifiers" : [ "left_command", "left_shift" ]
} ],
"conditions" : [ {
"name" : "q-mode",
"value" : 1,
"type" : "variable_if"
} ],
"type" : "basic"
}, {
"type" : "basic",
"parameters" : {
"basic.simultaneous_threshold_milliseconds" : 250
},
"to" : [ {
"set_variable" : {
"name" : "q-mode",
"value" : 1
}
}, {
"key_code" : "f",
"modifiers" : [ "left_command", "left_shift" ]
} ],
"from" : {
"simultaneous" : [ {
"key_code" : "q"
}, {
"key_code" : "f"
} ],
"simultaneous_options" : {
"detect_key_down_uninterruptedly" : true,
"key_down_order" : "strict",
"key_up_order" : "strict_inverse",
"key_up_when" : "any",
"to_after_key_up" : [ {
"set_variable" : {
"name" : "q-mode",
"value" : 0
}
} ]
}
}
}, {
"from" : {
"key_code" : "g"
},
"to" : [ {
"key_code" : "g",
"modifiers" : [ "left_command", "left_shift" ]
} ],
"conditions" : [ {
"name" : "q-mode",
"value" : 1,
"type" : "variable_if"
} ],
"type" : "basic"
}, {
"type" : "basic",
"parameters" : {
"basic.simultaneous_threshold_milliseconds" : 250
},
"to" : [ {
"set_variable" : {
"name" : "q-mode",
"value" : 1
}
}, {
"key_code" : "g",
"modifiers" : [ "left_command", "left_shift" ]
} ],
"from" : {
"simultaneous" : [ {
"key_code" : "q"
}, {
"key_code" : "g"
} ],
"simultaneous_options" : {
"detect_key_down_uninterruptedly" : true,
"key_down_order" : "strict",
"key_up_order" : "strict_inverse",
"key_up_when" : "any",
"to_after_key_up" : [ {
"set_variable" : {
"name" : "q-mode",
"value" : 0
}
} ]
}
}
}, {
"from" : {