Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
gsgqgyq opened this issue Apr 23, 2023 · 1 comment
Open

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

gsgqgyq opened this issue Apr 23, 2023 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@gsgqgyq
Copy link

gsgqgyq commented Apr 23, 2023

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

key_binder:
  select_first_character: "grave", "9"
  select_last_character: "backslash", "0"
@BlindingDark BlindingDark added the enhancement New feature or request label Apr 24, 2023
@BlindingDark
Copy link
Owner

BlindingDark commented Apr 24, 2023

你好,目前配置文件中还不支持读取数组,你可以直接修改这里的代码来增加一个 or key 的逻辑

if (key:repr() == first_key and commit_text ~= "") then

@BlindingDark BlindingDark added the good first issue Good for newcomers label Apr 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants