From 86a4605f58b918692123a73bf511d21cfedec0ac Mon Sep 17 00:00:00 2001 From: Dvel Date: Wed, 29 Nov 2023 09:52:08 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=95=B0=E5=AD=97=E9=87=91=E9=A2=9D?= =?UTF-8?q?=E5=A4=A7=E5=86=99=E7=9A=84=20Lua=EF=BC=88R1234.5678=EF=BC=89?= =?UTF-8?q?=E5=8F=AF=E4=BD=BF=E7=94=A8=E5=B0=8F=E9=94=AE=E7=9B=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- default.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) 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