diff --git a/default.yaml b/default.yaml index 2d8c153..b7c7290 100644 --- a/default.yaml +++ b/default.yaml @@ -229,6 +229,19 @@ key_binder: # - { when: always, accept: Control+period, toggle: ascii_punct } # - { when: always, accept: Control+slash, toggle: traditionalization } + # 将小键盘 0~9 . 映射到主键盘,数字金额大写的 Lua(R1234.5678)可使用小键盘输入 + - {accept: KP_0, send: 0, when: composing} + - {accept: KP_1, send: 1, when: composing} + - {accept: KP_2, send: 2, when: composing} + - {accept: KP_3, send: 3, when: composing} + - {accept: KP_4, send: 4, when: composing} + - {accept: KP_5, send: 5, when: composing} + - {accept: KP_6, send: 6, when: composing} + - {accept: KP_7, send: 7, when: composing} + - {accept: KP_8, send: 8, when: composing} + - {accept: KP_9, send: 9, when: composing} + - {accept: KP_Decimal, send: period, when: composing} + # 按键速查 # https://github.com/LEOYoon-Tsaw/Rime_collections/blob/master/Rime_description.md