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

禁用 Shift 无效 #153

Closed
mpco opened this issue Mar 23, 2017 · 2 comments
Closed

禁用 Shift 无效 #153

mpco opened this issue Mar 23, 2017 · 2 comments

Comments

@mpco
Copy link

mpco commented Mar 23, 2017

default.custom.yaml 中设置为:

# custom settings
# encoding: utf-8
patch:
  menu/page_size: 7
  schema_list:
    - schema: double_pinyin_flypy   # 小鶴雙拼
    - schema: luna_pinyin_simp     # 朙月拼音 简化字
  switcher/hotkeys:
    - "Control+Shift+grave"
  ascii_composer/switch_key:
    Caps_Lock: commit_code
    Shift_L: noop
    Shift_R: noop
    Control_L: noop
    Control_R: noop
  key_binder/bindings:
    - { when: composing, 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 }
    # paging keys
    - { 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: has_menu, accept: bracketleft, send: Page_Up }
    - { when: has_menu, accept: bracketright, send: Page_Down }
    - { when: paging, accept: comma, send: Page_Up }
    - { when: has_menu, accept: period, send: Page_Down }

单击 shift,依旧可以切换 中英文 输入状态,请问是什么原因?

@Skyearn
Copy link

Skyearn commented Feb 20, 2020

在 default.custom.yaml 中加入以下内容:

patch:
  ascii_composer/switch_key:
    Caps_Lock: noop
    Shift_L: noop
    Shift_R: noop
    Control_L: noop
    Control_R: noop

@mpco
Copy link
Author

mpco commented Feb 21, 2020

感谢,已经不用 Rime 了,未做验证。

@mpco mpco closed this as completed Feb 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants