BlindingDark / rime-lua-select-character

Rime / 以词定字
GNU Lesser General Public License v3.0
63 stars 4 forks source link

请问如何配置多个按键 #4

Open gsgqgyq opened 1 year ago

gsgqgyq commented 1 year ago

我想添加多个按键用以选择,可是部署失败。请问支持设置多个按键吗?怎样正确配置呢?

key_binder:
  select_first_character: "grave", "9"
  select_last_character: "backslash", "0"
BlindingDark commented 1 year ago

你好,目前配置文件中还不支持读取数组,你可以直接修改这里的代码来增加一个 or key 的逻辑 https://github.com/BlindingDark/rime-lua-select-character/blob/7aaea18604aae0a5ca56306061c5a3b8ae2a4fa9/lua/select_character.lua#L45