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 時能直接輸入英文、特殊符號 #5

Open
rhuba8324 opened this issue Aug 25, 2022 · 0 comments
Open

讓按住 shift 時能直接輸入英文、特殊符號 #5

rhuba8324 opened this issue Aug 25, 2022 · 0 comments

Comments

@rhuba8324
Copy link

洋蔥的RIME注音設定檔在按住shift時能直接輸出英文及特殊符號,不需要在輸入完成後按enter
我認為這個設定對注音輸入沒有什麼負面作用,還能提升使用方便性

新增 iridium_bpmf.custom.yaml 並寫入以下內容就能達成這個效果
但我不確定替換為 express_editor 會不會造成什麼問題,至少我在目前短暫使用下還沒遇到

patch:
  engine/processors:
    - ascii_composer
    - recognizer
    - key_binder
    - speller
    - punctuator
    - selector
    - navigator
    - express_editor

  recognizer/patterns:
    punct: '`[^\s]'
    
  editor/bindings:
    Return: confirm
    KP_Enter: confirm
#以下兩行也是取自洋蔥方案,我認為能緩解大部分注音使用者忘記切換輸入法的困擾
    Shift+Return: commit_raw_input #直出輸入所對應的英文、數字、符號
    Control+Return: commit_script_text #輸出方案使用之顯示編碼(如注音符號)
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

1 participant