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

Emoji 表情能不能固定在每一行的最后一个候选词吗 #24

Open
ililu2000 opened this issue Feb 12, 2021 · 2 comments
Open

Comments

@ililu2000
Copy link

ililu2000 commented Feb 12, 2021

比如我打 fan 字,第一行候选词出来的是各种各样 Emoji 饭,很影响打字效率
截屏2021-02-12 下午6 38 25
如果把所有 Emoji 都固定在 第9个候选词,或者所有 emoji 都固定在每一行后三个候选词上,这样就可以在不影响效率的前提下还能用 Emoji

还有 emoji 后面的文字能去掉吗?

@LEOYoon-Tsaw
Copy link
Member

不能。
可以試試tips: none,寫在emoji的simplifier下

@tkuwill
Copy link

tkuwill commented Apr 15, 2023

樓主通常可能是有時候打個字時,臨時想用emoji來表達平時工作或學習時是用不到的。個人建議這樣設定(我使用地球拼音,放在terra_pinyin.custom.yaml):

patch:
  switches/@next:
    name: emoji_suggestion
    reset: 0 # 0 則為預設關閉,需從<C-`>設定選單中開啓。
    states: [ "🈚︎", "🈶️" ]
  'engine/filters/@before 0':
    simplifier@emoji_suggestion
  emoji_suggestion:
    opencc_config: emoji.json
    option_name: emoji_suggestion
    tips: none
    inherit_comment: false

如此一來,預設打字時emoji就不會出現在候選字中,當需要打emoji時,在使用<C-`> 來進行切換。
重點就是 reset: 0 。 @ililu2000

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

3 participants