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_L": noop
"ascii_composer/switch_key/Control_R": noop "ascii_composer/switch_key/Control_R": noop
"key_binder/bindings": "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: paging, accept: comma, send: Page_Up }
- { when: has_menu, accept: period, send: Page_Down } - { when: has_menu, accept: period, send: Page_Down }
@ -86,5 +78,3 @@ patch:
- { accept: KP_Add, send: plus, when: composing } - { accept: KP_Add, send: plus, when: composing }
- { accept: KP_Subtract, send: minus, when: composing } - { accept: KP_Subtract, send: minus, when: composing }
- { accept: KP_Divide, send: slash, 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 = { addons = {
classicui.globalSection = { classicui.globalSection = {
Theme = "FluentDark-solid"; Theme = "FluentDark-solid";
"Vertical Candidate List" = true; "Vertical Candidate List" = "True";
}; };
notifications.globalSection = { notifications.globalSection = {
HiddenNotifications = ""; HiddenNotifications = "";
@ -61,53 +61,63 @@ in {
}; };
globalOptions = { globalOptions = {
HotKey = { HotKey = {
ActivateKeys = ""; EnumerateWithTriggerKeys = "True";
AltTriggerKeys = ""; AltTriggerKeys = "";
DeactivateKeys = "";
EnumerateBackwardKeys = "";
EnumerateForwardKeys = ""; EnumerateForwardKeys = "";
EnumerateGroupBackwardKeys = ""; EnumerateBackwardKeys = "";
EnumerateSkipFirst = "False";
EnumerateGroupForwardKeys = ""; EnumerateGroupForwardKeys = "";
EnumerateSkipFirst = false; EnumerateGroupBackwardKeys = "";
EnumerateWithTriggerKeys = true; ActivateKeys = "";
ModifierOnlyKeyTimeout = "250"; DeactivateKeys = "";
NextCandidate = ""; PrevPage = "";
NextPage = ""; NextPage = "";
PrevCandidate = ""; PrevCandidate = "";
PrevPage = ""; NextCandidate = "";
TogglePreedit = ""; TogglePreedit = "";
TriggerKeys = ""; ModifierOnlyKeyTimeout = 250;
};
"Hotkey/TriggerKeys" = {
"0" = "Control+space";
}; };
Behavior = { Behavior = {
ActiveByDefault = false; ActiveByDefault = "False";
AllowInputMethodForPassword = false; AllowInputMethodForPassword = "False";
AutoSavePeriod = 30; AutoSavePeriod = 30;
CompactInputMethodInformation = true; CompactInputMethodInformation = "True";
CustomXkbOption = ""; CustomXkbOption = "";
DefaultPageSize = 7; DefaultPageSize = 7;
DisabledAddons = ""; DisabledAddons = "";
EnabledAddons = ""; EnabledAddons = "";
OverrideXkbOption = false; OverrideXkbOption = "False";
PreeditEnabledByDefault = true; PreeditEnabledByDefault = "True";
PreloadInputMethod = true; PreloadInputMethod = "True";
ShareInputState = "No"; ShareInputState = "No";
ShowFirstInputMethodInformation = true; ShowFirstInputMethodInformation = "True";
ShowInputMethodInformation = true; ShowInputMethodInformation = "True";
ShowPreeditForPassword = false; ShowPreeditForPassword = "False";
resetStateWhenFocusIn = "No"; resetStateWhenFocusIn = "No";
showInputMethodInformationWhenFocusIn = false; showInputMethodInformationWhenFocusIn = "False";
}; };
}; };
inputMethod = { inputMethod = {
"Groups/0" = { "Groups/0" = {
Name = "Default"; Name = "Default";
"Default Layout" = "us"; "Default Layout" = "us";
DefaultIM = "keyboard-us"; DefaultIM = "rime";
}; };
"Groups/0/Items/0" = { "Groups/0/Items/0" = {
Name = "keyboard-us";
Layout = "";
};
"Groups/0/Items/1" = {
Name = "rime"; Name = "rime";
Layout = ""; Layout = "";
}; };
"Groups/0/Items/2" = {
Name = "keyboard-us-dvp";
Layout = "";
};
"GroupOrder" = { "GroupOrder" = {
"0" = "Default"; "0" = "Default";
}; };