Skip to content

Instantly share code, notes, and snippets.

@lotem
Forked from NemoAlex/gist:2316620
Created April 6, 2012 03:57
Show Gist options
  • Select an option

  • Save lotem/2316704 to your computer and use it in GitHub Desktop.

Select an option

Save lotem/2316704 to your computer and use it in GitHub Desktop.
在 Rime 中加入"["和"]"翻页按键绑定(以【明月拼音】为例)
# luna_pinyin.custom.yaml
# save it to:
# ~/.config/ibus/rime (linux)
# ~/Library/Rime (macos)
# %APPDATA%\Rime (windows)
patch:
"key_binder/bindings":
- { when: paging, accept: bracketleft, send: Page_Up }
- { when: has_menu, accept: bracketright, send: Page_Down }
@JeanTse
Copy link

JeanTse commented Jan 6, 2026

终于弄好了,原来只要修改default.yaml文件即可,文件里有默认修改项,打开一看一目了然哦。

这里面的只是说明,还是需要把它里面提供的相应的语句 copy 到 default.custom.yaml 里面,并且删除掉注释符号“#”使其生效的。

怎么设置“,。”来翻页?

这一段语句就是我在default.yaml里面找到的对应于“,.”的,亲测正确有效:

  key_binder/bindings:
    - { when: paging, accept: comma, send: Page_Up }
    - { when: has_menu, accept: period, send: Page_Down }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment