Created
August 15, 2026 15:07
-
-
Save wpyoga/fd14a6e85b04c4751c5e29b7a85fbd12 to your computer and use it in GitHub Desktop.
Custom full width punctuation for Rime
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Save this file as ~/.config/ibus/rime/luna_pinyin_simp.custom.yaml | |
| # Execute `ibus restart`, then switch window focus (Alt-Tab) to refresh ibus state | |
| # Configure half-width mode (半角) and full width punctuation (。,) | |
| # The following overrides specific punctuation keys for full-width characters | |
| patch: | |
| reverse_lookup: {} # to override "`" | |
| recognizer: {} # to override "`" | |
| punctuator: | |
| half_shape: | |
| # Number row | |
| "~": { commit: "~" } | |
| "`": { commit: "`" } | |
| "!": { commit: "!" } | |
| "$": { commit: "¥" } | |
| "^": { commit: "……" } | |
| "(": { commit: "(" } | |
| ")": { commit: ")" } | |
| "_": { commit: "——" } | |
| # Symbols near Enter key | |
| "{": { commit: "『" } | |
| "}": { commit: "』" } | |
| "[": { commit: "【" } | |
| "]": { commit: "】" } | |
| "\\": { commit: "、" } | |
| ":": { commit: ":" } | |
| ";": { commit: ";" } | |
| "\"": { pair: ["“", "”"] } | |
| "'": { pair: ["‘", "’"] } | |
| "<": { commit: "《" } | |
| ">": { commit: "》" } | |
| ",": { commit: "," } | |
| ".": { commit: "。" } | |
| "?": { commit: "?" } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment