diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2026-10-27 10:58:32 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2026-10-27 10:58:32 +0800 |
| commit | 7a24319a672c5dc495dfa773584f233e010997d4 (patch) | |
| tree | 2b9192699e4c7be0dcdbc2853367fe8e6094bbeb | |
| parent | 1151dfe46be5697fc0c5b4ac9c49c9cf3bf00c62 (diff) | |
fcitx5: use rime and ctrl-space within to switch lang
| -rw-r--r-- | dot-config/fcitx5/config | 7 | ||||
| -rw-r--r-- | dot-config/fcitx5/profile | 6 | ||||
| -rw-r--r-- | dot-local/share/fcitx5/rime/default.custom.yaml | 9 | ||||
| -rw-r--r-- | dot-local/share/fcitx5/rime/jyut6ping3.custom.yaml | 7 |
4 files changed, 20 insertions, 9 deletions
diff --git a/dot-config/fcitx5/config b/dot-config/fcitx5/config index 3c2078a5..a274bbd3 100644 --- a/dot-config/fcitx5/config +++ b/dot-config/fcitx5/config @@ -1,6 +1,10 @@ [Hotkey] +# Toggle Input Method +TriggerKeys= # Enumerate when holding modifier of Toggle key # EnumerateWithTriggerKeys=True +# Consume redundant Activate/Deactivate key +# ConsumeRedundantActivateKeys=False # Temporarily Toggle Input Method AltTriggerKeys= # Enumerate Input Method Forward @@ -16,9 +20,6 @@ EnumerateGroupBackwardKeys= # Time limit in milliseconds for triggering modifier key shortcuts # ModifierOnlyKeyTimeout=250 -[Hotkey/TriggerKeys] -0=Control+space - # [Hotkey/ActivateKeys] # 0=Hangul_Hanja diff --git a/dot-config/fcitx5/profile b/dot-config/fcitx5/profile index 061d916b..66399f56 100644 --- a/dot-config/fcitx5/profile +++ b/dot-config/fcitx5/profile @@ -8,12 +8,6 @@ DefaultIM=rime [Groups/0/Items/0] # Name -Name=keyboard-us-altgr-intl -# Layout -# Layout= - -[Groups/0/Items/1] -# Name Name=rime # Layout # Layout= diff --git a/dot-local/share/fcitx5/rime/default.custom.yaml b/dot-local/share/fcitx5/rime/default.custom.yaml index c4a58a50..70375b47 100644 --- a/dot-local/share/fcitx5/rime/default.custom.yaml +++ b/dot-local/share/fcitx5/rime/default.custom.yaml @@ -1,3 +1,12 @@ patch: schema_list: - schema: jyut6ping3 + ascii_composer/switch_key: + Shift_L: noop + Shift_R: noop + Control_L: noop + Control_R: noop + Caps_Lock: noop + Eisu_toggle: noop + key_binder/bindings/+: + - { when: always, accept: "Control+space", toggle: ascii_mode } diff --git a/dot-local/share/fcitx5/rime/jyut6ping3.custom.yaml b/dot-local/share/fcitx5/rime/jyut6ping3.custom.yaml index 0dbb6165..e7e04f22 100644 --- a/dot-local/share/fcitx5/rime/jyut6ping3.custom.yaml +++ b/dot-local/share/fcitx5/rime/jyut6ping3.custom.yaml @@ -12,8 +12,15 @@ patch: - derive/k$/t/ - derive/m$/ng/ - derive/p$/k/ + - derive/ing$/eng/ + - derive/eng$/ing/ + - derive/im$/em/ + - derive/em$/im/ "key_binder/bindings/+": - { when: has_menu, accept: Control+h, send: Up } - { when: has_menu, accept: Control+l, send: Down } - { when: has_menu, accept: Control+k, send: Page_Up } - { when: has_menu, accept: Control+j, send: Page_Down } + switches/+/0: + name: ascii_mode + reset: 1 |
