jtsoi
2018-07-05 15:47:01
可以用Karabiner 改翻:
裝完後 go to folder:
~/.config/karabiner/karabiner.json
入"complex_modifications"
開一個123.json
貼上下面的code
{
"title": "uio to jkl",
"rules":[
{
"description":"l to o",
"manipulators": [
{
"type": "basic",
"from":{
"key_code":"l"
},
"to":[{
"key_code":"o"
}],
"conditions":[
{
"type":"input_source_if",
"input_sources":[
{
"input_source_id": "com.apple.inputmethod.TCIM.WBH"
}
]
}
]
}
]
},
{
"description":"o to l",
"manipulators": [
{
"type": "basic",
"from":{
"key_code":"o"
},
"to":[{
"key_code":"l"
}],
"conditions":[
{
"type":"input_source_if",
"input_sources":[
{
"input_source_id": "com.apple.inputmethod.TCIM.WBH"
}
]
}
]
}
]
},
{
"description":"i to k",
"manipulators": [
{
"type": "basic",
"from":{
"key_code":"i"
},
"to":[{
"key_code":"k"
}],
"conditions":[
{
"type":"input_source_if",
"input_sources":[
{
"input_source_id": "com.apple.inputmethod.TCIM.WBH"
}
]
}
]
}
]
},{
"description":"k to i",
"manipulators": [
{
"type": "basic",
"from":{
"key_code":"k"
},
"to":[{
"key_code":"i"
}],
"conditions":[
{
"type":"input_source_if",
"input_sources":[
{
"input_source_id": "com.apple.inputmethod.TCIM.WBH"
}
]
}
]
}
]
},{
"description":"u to j",
"manipulators": [
{
"type": "basic",
"from":{
"key_code":"u"
},
"to":[{
"key_code":"j"
}],
"conditions":[
{
"type":"input_source_if",
"input_sources":[
{
"input_source_id": "com.apple.inputmethod.TCIM.WBH"
}
]
}
]
}
]
},{
"description":"j to u",
"manipulators": [
{
"type": "basic",
"from":{
"key_code":"j"
},
"to":[{
"key_code":"u"
}],
"conditions":[
{
"type":"input_source_if",
"input_sources":[
{
"input_source_id": "com.apple.inputmethod.TCIM.WBH"
}
]
}
]
}
]
}
]
}
之後去 karrabiner, complex modification, add rule, enable all"uio to jkl".