From 24cbe2ff0c76855229704a5849c0b7e21acaef73 Mon Sep 17 00:00:00 2001 From: Peng Li Date: Mon, 8 May 2017 11:53:24 +0800 Subject: [PATCH] rime - change setting of ascii-mode switch --- miscellanea/rime/default.custom.yaml | 40 ++++++++++++++++++++++++++++++++++-- 1 file changed, 38 insertions(+), 2 deletions(-) diff --git a/miscellanea/rime/default.custom.yaml b/miscellanea/rime/default.custom.yaml index b260614..1f71732 100644 --- a/miscellanea/rime/default.custom.yaml +++ b/miscellanea/rime/default.custom.yaml @@ -12,8 +12,8 @@ patch: Control_L: noop Control_R: noop Eisu_toggle: clear - Shift_L: commit_code - Shift_R: commit_code + Shift_L: noop + Shift_R: noop menu/page_size: 9 schema_list: # - schema: luna_pinyin # 朙月拼音 @@ -38,3 +38,39 @@ patch: # - schema: zyenpheng # 中古漢語全拼 # - schema: ipa_xsampa # X-SAMPA 國際音標 - schema: emoji # emoji表情 + key_binder: + bindings: + - {accept: "Control+p", send: Up, when: composing} + - {accept: "Control+n", send: Down, when: composing} + - {accept: "Control+b", send: Left, when: composing} + - {accept: "Control+f", send: Right, when: composing} + - {accept: "Control+a", send: Home, when: composing} + - {accept: "Control+e", send: End, when: composing} + - {accept: "Control+d", send: Delete, when: composing} + - {accept: "Control+k", send: "Shift+Delete", when: composing} + - {accept: "Control+h", send: BackSpace, when: composing} + - {accept: "Control+g", send: Escape, when: composing} + - {accept: "Control+bracketleft", send: Escape, when: composing} + - {accept: "Alt+v", send: Page_Up, when: composing} + - {accept: "Control+v", send: Page_Down, when: composing} + - {accept: ISO_Left_Tab, send: Page_Up, when: composing} + - {accept: "Shift+Tab", send: Page_Up, when: composing} + - {accept: Tab, send: Page_Down, when: composing} + - {accept: minus, send: Page_Up, when: has_menu} + - {accept: equal, send: Page_Down, when: has_menu} + - {accept: comma, send: Page_Up, when: paging} + - {accept: period, send: Page_Down, when: has_menu} + - {accept: "Control+Shift+1", select: .next, when: always} + - {accept: "Control+Shift+2", toggle: ascii_mode, when: always} + - {accept: "Control+Shift+3", toggle: full_shape, when: always} + - {accept: "Control+Shift+4", toggle: simplification, when: always} + - {accept: "Control+Shift+5", toggle: extended_charset, when: always} + - {accept: "Control+Shift+exclam", select: .next, when: always} + - {accept: "Control+Shift+at", toggle: ascii_mode, when: always} + - {accept: "Control+Shift+numbersign", toggle: full_shape, when: always} + - {accept: "Control+Shift+dollar", toggle: simplification, when: always} + - {accept: "Control+Shift+percent", toggle: extended_charset, when: always} + # - {accept: "Shift+space", toggle: full_shape, when: always} + - {accept: "Control+period", toggle: ascii_punct, when: always} + - {accept: "Control+Shift+period", toggle: ascii_mode, when: always} + - {accept: "Control+Shift+quote", toggle: ascii_mode, when: always} -- 2.11.0