rime / rime/squirrel

一个关于 key_binder/bindings 按键绑定的疑问

Open
#849 9 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Swift
Stars
6.4k
Forks
554
PR merge metrics
No merged PRs in 30d

Description

请问 key_binder/bindings 中如何将绑定到数字(字母区上方数字区)?

我通过

- {accept: KP_1, send: 1, when: always}

试图将小键盘区的 1 指向字母 Q 上方的 1,以完成 #144 的相关设置,但是如此设置后键入小键盘 1 没有任何输出。
而如果将该语句改为

- {accept: KP_1, send: a, when: always}

则可以将键入小键盘区的 1 指向字母 a,正常上屏 a

那么如果想指向数字 1,send: 中应该使用什么参数呢?非常感谢。

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the key_binder/bindings configuration described in the issue and trace how KP_1 is handled for send: 1 versus send: a. Check the setting related to issue #144 and verify which parameter produces the top-row 1; done means documenting a working binding and confirming its output.

Written by the indexing model from the issue text.

Assessment

Domain
desktop
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.