Example configuration for Karabiner
{
"title": "select_input_source example",
"rules": [
{
"description": "Change input source by ctrl + 1/2/3 en/es/zh",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "1",
"modifiers": {
"mandatory": [
"control"
]
}
},
"to": [
{
"select_input_source": {
"input_source_id": "^com\\.apple\\.keylayout\\.ABC$"
}
}
]
},
{
"type": "basic",
"from": {
"key_code": "2",
"modifiers": {
"mandatory": [
"control"
]
}
},
"to": [
{
"select_input_source": {
"input_source_id": "^com\\.apple\\.keylayout\\.Latin*"
}
}
]
},
{
"type": "basic",
"from": {
"key_code": "3",
"modifiers": {
"mandatory": [
"control"
]
}
},
"to": [
{
"select_input_source": {
"language": "zh*"
}
}
]
}
]
}
]
}
based on https://ke-complex-modifications.pqrs.org/#example_select_input_source
I am attaching the screen shot of "Preference" to my main question. Please take have a look.
– Tulon Jun 18 '14 at 11:04Preferences → Language & Text → Input Sources → Input source shortcutsI see that the remain 2 options there: 01. "Select previous input source ⌘Space" & 02. "Select next input source in menu ⌥⌘Space"are disabled. Because these two shortcut was used for "Searching Spot light". After change this shortcut now it's working. Thanks a lot @George Garside. Have a nice day. Take my hug. :)
– Tulon Jun 18 '14 at 11:33control(^) and pressspacerepeatedly for cycling to the next keyboard layout. – Kamafeather Aug 28 '19 at 09:29