To show more or fewer candidates on one Rime page, add a configuration patch in the user directory, set menu/page_size, and deploy again. The setting can be a global default, or it can apply only to Luna Pinyin. [1]
Find the user directory first
The official Rime customization guide gives these user directories: [1]
- Weasel on Windows:
%APPDATA%\Rime - Squirrel on macOS:
~/Library/Rime - ibus-rime on Linux:
~/.config/ibus/rime
In the user directory, create a customization file ending in .custom.yaml and write the settings to change under patch. On deployment, the patch adds or replaces the named values on top of the original configuration. You do not have to edit the files shipped with the software, and later updates to those files can still be kept. [1]
Set a global default for the number of candidates
Create default.custom.yaml in the user directory and write the following, which sets the default page size to 9: [1]
patch:
"menu/page_size": 9
menu/page_size is the setting to change. The number after the colon is how many candidates appear on a page. Change 9 to the number you want. The usual range given in the official guide is 1 to 9. The file takes effect only after you deploy again. [1]
Merge into a patch you already have
If default.custom.yaml already has other settings, keep them. Under the existing patch:, and at the same indentation, add "menu/page_size": 9. Do not add a second patch:. For example: [1]
patch:
"switcher/hotkeys":
- "Control+grave"
- F4
"menu/page_size": 9
Change only Luna Pinyin
To change only Luna Pinyin, create luna_pinyin.custom.yaml in the user directory, write the same patch, and save it: [1]
patch:
"menu/page_size": 9
This file is for Luna Pinyin. If it already has a patch:, merge the setting under that key. After saving, deploy again, then switch to Luna Pinyin. [1]
Deploy again so the setting takes effect
After saving, deploy on the platform you use: [1]
- Weasel on Windows: from the Start menu, open “小狼毫输入法” and choose “重新部署”. If the tray icon is on, you can also right-click it and choose “重新部署”.
- Squirrel on macOS: in the system text-input menu, choose “重新部署”.
- ibus-rime on Linux: click the ⟲ (Deploy) button on the input-method status bar. If you cannot find the status bar, run this in a terminal:
touch ~/.config/ibus/rime/; ibus restart
After deployment, type a code and check how many candidates appear on a page. Deployment compiles the input schemas. If Chinese output pauses, wait a moment. [1]
References
- Rime, Customization Guide.