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 /dot-local | |
| parent | 1151dfe46be5697fc0c5b4ac9c49c9cf3bf00c62 (diff) | |
fcitx5: use rime and ctrl-space within to switch lang
Diffstat (limited to 'dot-local')
| -rw-r--r-- | dot-local/share/fcitx5/rime/default.custom.yaml | 9 | ||||
| -rw-r--r-- | dot-local/share/fcitx5/rime/jyut6ping3.custom.yaml | 7 |
2 files changed, 16 insertions, 0 deletions
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 |
