Chording presses several keys at once and takes them as one group of input. It is common in the stenography trade. Xishu IME (XSIME) builds chording in as an extension. It includes a keymap called Feiyao, and it also lets a user copy, create, or import a keymap of their own. [1][2] A custom scheme has an "output encoding" option, which can be set to "full pinyin" (the default) or "natural-code double pinyin." This article explains what that option changes, why it was changed, and how to use the two scheme files already in the repository.

Drawing: an original Scholay sketch, made with AI assistance. In natural-code output, one syllable is two keys. The picture has no pinyin letters, and it is not a screenshot of the input method.
Scope: the keymap function of the chord extension in Xishu IME 1.2.0. The data directory given in the documents is the macOS path ~/Library/RIMES/chord-keymaps/. [2]
How a keymap is written
A keymap is a mapping table. Each row ties a set of keys to a stretch of pinyin output. The keys that take part in a chord are only the lowercase a–z and , and ., divided into a left zone and a right zone. Each mapping contains at least two different keys. The set of keys has no order. dv and vd are the same row. [2]
Output has two types: [2]
- A complete syllable: a legal pinyin syllable, for example
nong. - A pinyin fragment: an initial or a final, for example
norong, which can be joined with the other half into a syllable.
The Feiyao example in the documents is: left-zone dv outputs the fragment n, and right-zone km outputs the fragment ong. When the left zone is pressed and then the right, the system first looks up the combined set dvkm and gets the syllable nong, rather than simply joining the two pieces of output. [2]
The problem with full-pinyin output: the split is ambiguous
The mapping table is always filled in as full pinyin. The problem is that full pinyin itself varies in length. When two syllables sit together, they can often be split in more than one reading. The documents' example is xian. It can be one syllable, or xi plus an. Full pinyin can tell those apart only with the separator '. Once the separator is lost while inserting, backing up, or editing, the wrong characters are chosen. [2]
Natural-code output: the boundary is decided by position
After the switch to "natural-code double pinyin," each complete syllable is encoded as two keys, and the syllable boundary is decided by position. The same pair of syllables, even if the separator is lost, can only be read as xi'an. [2]
The mapping table is still filled in as full pinyin. The encoding matters only when the scheme is applied and a Rime schema is generated. What the learning progress, the stream-of-consciousness input, and the editor read is still full pinyin. [2] The conversion rules are: [2]
| Mapping type | Encoding rule | Example |
|---|---|---|
| Complete syllable | Two keys in the natural-code layout | zhang to vh, shui to uv, xiong to xs, lve to lt |
| Zero-initial syllable | The natural-code spelling of a zero initial | a to aa, e to ee, o to oo, ang to ah, eng to eg, ai to ai |
| Initial fragment | One key; zh, ch, and sh are v, i, and u |
sh to u, y to y |
| Final fragment | One key, the final key that completes the syllable | iu to q, uan to r, ong to s, en to f |
On save and on apply, the system checks each output. A complete syllable must be a legal pinyin syllable. A pinyin fragment must be an initial or a final. Otherwise it refuses the row and says which row it is. [2]
How the generated schema differs
After natural code is chosen, the generated Rime schema differs from the full-pinyin version in these ways: [2]

Drawing: an original Scholay sketch, made with AI assistance. After the generated scheme is imported, syllables are output with two keys. This is not a screenshot of an import screen.
- The spelling rules change to natural code. The dictionary is still rime-ice's
rime_ice. The two encodings share the user's word frequencies. - The input area shows full pinyin. What Rime stores internally is the double-pinyin code.
- Abbreviated pinyin is not turned on, because an abbreviation that types only the initial would bring back a split of uneven length.
- Rime-ice's date triggers become
date,time,week,datetime,timestamp, andlunar. The oldts,sj,xq, andnlare, in natural code, the codes for other syllables.
What to get used to after switching to natural code
- A single key is still entered as itself, but the letter is read as natural code. Pressing
ualone meanssh. [2] - Pressing a right-hand final fragment alone produces that final key. It no longer produces a zero-initial character by itself. To type those characters, use the zero-initial combination in the mapping table. [2]
- Stream-of-consciousness input still decodes the chord from the full-pinyin output of the mapping table. [2]
Try it: import the two schemes in the repository
The built-in Feiyao scheme can use only full pinyin. To change it to natural code, copy Feiyao first, then switch the output encoding on the copy. [2] The repository's chord-keymaps/ directory already has two files that can be imported directly. Both are copied from the Feiyao mapping table. [2][3]
| File | Output encoding | Note |
|---|---|---|
Isaac2025.json |
Full pinyin | A frozen backup of the Feiyao full-pinyin mapping |
Isaac2026.json |
Natural-code double pinyin | The same mapping table, encoded as natural code |
Steps: [2]
- In settings, turn on the chord extension (it is off by default) and open the keymap page. Turning the extension on does not replace the current ordinary input schema.
- Click Import, and choose
Isaac2026.json. Import assigns a new scheme ID. It does not overwrite a scheme already on the machine. - Click the chord try, or in the local try click start and press keys, and look at the mapping result. The try is shown only on this machine. It does not send text to an outside input box.
- Click apply keymap. Apply saves first, then checks, deploys, and verifies the whole mapping table row by row.
- If the current ordinary input is a rime-ice full-pinyin or double-pinyin schema, leave that choice as it is. When needed, on the chord settings page click set as the current input schema.
On mobile, the 1.2.0 release notes say that the orthogonal keyboards on iOS and Android are independent of the chord plugin, and that choosing isaac2026 uses natural-code chording. [4]
References
-
scholay-xsime. Xishu IME README. v1.2.0.
-
scholay-xsime. Chord keymaps. v1.2.0.
-
scholay-xsime. chord-keymaps/Isaac2026.json. v1.2.0.
-
scholay-xsime. Xishu IME 1.2.0 release notes. v1.2.0.