rime / rime/squirrel

使用全角状态输入中文标点符号时,英文和数字如何可以保持半角状态?

Open
#807 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Swift
Stars
6.4k
Forks
554
PR merge metrics
No merged PRs in 30d

Description

文件  # default.custom.yaml
`
patch:

schema_list:
- schema: wubi86_jidian # 五笔
- schema: pinyin_simp # 普通拼音
...

punctuator:
full_shape: # 全角符号
""": {pair: ["“", "”"]}
"#": ["#", "⌘"]
...
half_shape: # 半角符号
"!": {commit: "!"}
"#": "#"
"$": "$"
...
`

切换到全角状态时, 定义的全角标点符号可以正常使用,但此时使用Shift切换到英文输入状态, english 和123 数字会同样为全角状态。

有办法在使用全角符号的状态下,让英文和数字始终保持为半角状态吗?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the behavior described in default.custom.yaml, focusing on the punctuator full_shape and half_shape entries and the Shift switch to English input. Determine whether the current configuration or input-mode handling can keep English and numbers half-width while full-width punctuation remains enabled; done means that combination works consistently on macOS.

Written by the indexing model from the issue text.

Assessment

Tech stack
yaml
Domain
desktop, localization
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.