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

万能码元时的编码提示 #587

Open
WhiteTiger-WT opened this issue Nov 21, 2022 · 0 comments
Open

万能码元时的编码提示 #587

WhiteTiger-WT opened this issue Nov 21, 2022 · 0 comments

Comments

@WhiteTiger-WT
Copy link

WhiteTiger-WT commented Nov 21, 2022

形码方案,不开启编码逐码检索(enable_completion: false),使用万能码元`

speller:
  auto_clear: max_length # 3种选择, manual|auto|max_length 空码按下一键确认清屏|空码自动清|达到最长码时后码顶上清屏
  auto_select: true
  max_code_length: 4
  alphabet: "[;`zyxwvutsrqponmlkjihgfedcba]"
  auto_select_pattern: ^;\w+|\w{4}$ 
  algebra:        #万能码元 `             
    - derive/^.(.*)$/`$1/             
    - derive/^(.).(.*)$/$1`$2/        
    - derive/^(..).(.*)$/$1`$2/       
    - derive/^(...).(.*)$/$1`$2/      
    - derive/^(...).$/$1`/

仅当使用万能码元时,实现图中效果。使用lua可以吗?或者使用 在 #538 中的思路怎么做?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant