trime icon indicating copy to clipboard operation
trime copied to clipboard

能否根据现有键盘自定义某一个按键

Open uchihaobito0220 opened this issue 2 months ago • 2 comments

摘要 / Summary

我用某些带辅助码的双拼,需要用的时候才会用到辅助码[ 或者,我看shift按键会在输入过程中变为分词功能,这个分词符能否修改自定义?

替代方案 / Alternative Solution

No response

附加信息 / Additional Context

No response

系统版本 / OS Version

1

应用版本 / App Version

1

构建信息 / Build Information

1

uchihaobito0220 avatar Oct 29 '25 08:10 uchihaobito0220

在trime.custom.yaml里寫

patch:
  "preset_keyboards/qwerty/keys/@31/composing": "'" 

這句話的意思是,修改qwerty鍵盤的第31個鍵(即shift鍵,具體是不是第31個,請你自己數一下),這個鍵在composing狀態的功能是分詞。

你如果要取消分詞功能,你就寫

patch:
  "preset_keyboards/qwerty/keys/@31/composing": null

你如果要把其他鍵設為分詞鍵,你就改@31。

gqqnbig avatar Nov 14 '25 11:11 gqqnbig

收到,我试试看,谢谢啦

uchihaobito0220 avatar Nov 15 '25 10:11 uchihaobito0220