From c96b65bea71e871ebc102b7cc940c60ad11092f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9ana=20=E6=B1=9F?= Date: Fri, 28 Nov 2025 19:14:28 +0800 Subject: [PATCH] home/fcitx5: use only one ime group https://github.com/fcitx/fcitx5/issues/1459 --- nix/homeModules/common/fcitx5/fcitx/config | 7 +------ nix/homeModules/common/fcitx5/fcitx/profile | 17 +++++------------ .../common/fcitx5/fcitx/table/cangjie3.conf | 2 +- 3 files changed, 7 insertions(+), 19 deletions(-) diff --git a/nix/homeModules/common/fcitx5/fcitx/config b/nix/homeModules/common/fcitx5/fcitx/config index 3c6a8023..53fcbc42 100644 --- a/nix/homeModules/common/fcitx5/fcitx/config +++ b/nix/homeModules/common/fcitx5/fcitx/config @@ -27,12 +27,6 @@ EnumerateWithTriggerKeys=true [Hotkey/AltTriggerKeys] 0=Shift_L -[Hotkey/EnumerateGroupBackwardKeys] -0=Control+Shift+space - -[Hotkey/EnumerateGroupForwardKeys] -0=Control+space - [Hotkey/NextCandidate] 0=Tab @@ -46,3 +40,4 @@ EnumerateWithTriggerKeys=true 0=Up [Hotkey/TriggerKeys] +0=Control+space diff --git a/nix/homeModules/common/fcitx5/fcitx/profile b/nix/homeModules/common/fcitx5/fcitx/profile index 9f258564..cbb6da73 100644 --- a/nix/homeModules/common/fcitx5/fcitx/profile +++ b/nix/homeModules/common/fcitx5/fcitx/profile @@ -1,23 +1,16 @@ # vim:ft=ini - [GroupOrder] -0=gDvorak -1=gCangjie +0="Group 1" [Groups/0] +Name="Group 1" Default Layout=us-dvorak DefaultIM=keyboard-us-dvorak -Name=gDvorak [Groups/0/Items/0] -Layout= Name=keyboard-us-dvorak +Layout=us-dvorak -[Groups/1] -Default Layout=us -DefaultIM=cangjie3 -Name=gCangjie - -[Groups/1/Items/0] -Layout= +[Groups/0/Items/1] Name=cangjie3 +Layout=us diff --git a/nix/homeModules/common/fcitx5/fcitx/table/cangjie3.conf b/nix/homeModules/common/fcitx5/fcitx/table/cangjie3.conf index 072933e0..75639c18 100644 --- a/nix/homeModules/common/fcitx5/fcitx/table/cangjie3.conf +++ b/nix/homeModules/common/fcitx5/fcitx/table/cangjie3.conf @@ -3,7 +3,7 @@ SecondCandidate= # Select Third Candidate ThirdCandidate= -# Page size +# Candidates Per Page PageSize=10 # Commit after auto select candidates CommitAfterSelect=True