module(fcitx5): Modify some key bindings

This commit is contained in:
ulic-youthlic 2025-07-06 08:22:26 +08:00
parent b677b3366e
commit ee4fe74676
Signed by: youthlic
GPG key ID: 63E86C3C14A0D721
2 changed files with 32 additions and 32 deletions

View file

@ -21,14 +21,6 @@ patch:
"ascii_composer/switch_key/Control_L": noop
"ascii_composer/switch_key/Control_R": noop
"key_binder/bindings":
# Tab / Shift+Tab 切换光标至下/上一个拼音
- { when: composing, accept: Shift+Tab, send: Shift+Left }
- { when: composing, accept: Tab, send: Shift+Right }
# Option/Alt + ←/→ 切换光标至下/上一个拼音
- { when: composing, accept: Shift+Tab, send: Shift+Left }
- { when: composing, accept: Tab, send: Shift+Right }
# 翻页 , .
- { when: paging, accept: comma, send: Page_Up }
- { when: has_menu, accept: period, send: Page_Down }
@ -86,5 +78,3 @@ patch:
- { accept: KP_Add, send: plus, when: composing }
- { accept: KP_Subtract, send: minus, when: composing }
- { accept: KP_Divide, send: slash, when: composing }
- { accept: Control+space, toggle: ascii_mode, when: always }

View file

@ -49,7 +49,7 @@ in {
addons = {
classicui.globalSection = {
Theme = "FluentDark-solid";
"Vertical Candidate List" = true;
"Vertical Candidate List" = "True";
};
notifications.globalSection = {
HiddenNotifications = "";
@ -61,53 +61,63 @@ in {
};
globalOptions = {
HotKey = {
ActivateKeys = "";
EnumerateWithTriggerKeys = "True";
AltTriggerKeys = "";
DeactivateKeys = "";
EnumerateBackwardKeys = "";
EnumerateForwardKeys = "";
EnumerateGroupBackwardKeys = "";
EnumerateBackwardKeys = "";
EnumerateSkipFirst = "False";
EnumerateGroupForwardKeys = "";
EnumerateSkipFirst = false;
EnumerateWithTriggerKeys = true;
ModifierOnlyKeyTimeout = "250";
NextCandidate = "";
EnumerateGroupBackwardKeys = "";
ActivateKeys = "";
DeactivateKeys = "";
PrevPage = "";
NextPage = "";
PrevCandidate = "";
PrevPage = "";
NextCandidate = "";
TogglePreedit = "";
TriggerKeys = "";
ModifierOnlyKeyTimeout = 250;
};
"Hotkey/TriggerKeys" = {
"0" = "Control+space";
};
Behavior = {
ActiveByDefault = false;
AllowInputMethodForPassword = false;
ActiveByDefault = "False";
AllowInputMethodForPassword = "False";
AutoSavePeriod = 30;
CompactInputMethodInformation = true;
CompactInputMethodInformation = "True";
CustomXkbOption = "";
DefaultPageSize = 7;
DisabledAddons = "";
EnabledAddons = "";
OverrideXkbOption = false;
PreeditEnabledByDefault = true;
PreloadInputMethod = true;
OverrideXkbOption = "False";
PreeditEnabledByDefault = "True";
PreloadInputMethod = "True";
ShareInputState = "No";
ShowFirstInputMethodInformation = true;
ShowInputMethodInformation = true;
ShowPreeditForPassword = false;
ShowFirstInputMethodInformation = "True";
ShowInputMethodInformation = "True";
ShowPreeditForPassword = "False";
resetStateWhenFocusIn = "No";
showInputMethodInformationWhenFocusIn = false;
showInputMethodInformationWhenFocusIn = "False";
};
};
inputMethod = {
"Groups/0" = {
Name = "Default";
"Default Layout" = "us";
DefaultIM = "keyboard-us";
DefaultIM = "rime";
};
"Groups/0/Items/0" = {
Name = "keyboard-us";
Layout = "";
};
"Groups/0/Items/1" = {
Name = "rime";
Layout = "";
};
"Groups/0/Items/2" = {
Name = "keyboard-us-dvp";
Layout = "";
};
"GroupOrder" = {
"0" = "Default";
};