Defining key binding to switch ascii_mode only change the input language, don't change the punctuation simultaneously
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 8k
- Forks
- 806
- PR merge metrics
- No merged PRs in 30d
Description
Under the default.custom.yaml file, I define a key bind: - { when: always, accept: Shift+space, toggle: ascii_mode }. I am happy to change the language with the key binding, while I found that the punctuation didn't change.
Then I define another key binding as - { when: always, accept: Control+period, toggle: ascii_punct }. I first change the punctuation after I change to the Chinese so that I can input the Chinese punctuation correctly. To my surprise, the following ascii_mode change works (means that it also can the punctuation without manual trigger the key binding to change the punctuation) well after once manual punctuation change.
This behavior is quite stranger.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the behavior using the default.custom.yaml bindings for ascii_mode and ascii_punct, first checking whether changing ascii_mode is expected to affect punctuation state. Compare the two key-binding sequences and define done as consistent, documented behavior or a confirmed fix for the unexpected punctuation change.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- yaml
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100