Skip to content

Instantly share code, notes, and snippets.

@NemoAlex
Created April 6, 2012 03:35
Show Gist options
  • Save NemoAlex/2316620 to your computer and use it in GitHub Desktop.
Save NemoAlex/2316620 to your computer and use it in GitHub Desktop.
在 Rime 中加入"["和"]"翻页按键绑定
# default.custom.yaml
# save it to:
# ~/.ibus/rime (linux)
# ~/Library/Rime (macos)
# %APPDATA%\Rime (windows)
patch:
key_binder:
bindings:
- accept: "Control+p"
send: Up
when: composing
- accept: "Control+n"
send: Down
when: composing
- accept: "Control+b"
send: Left
when: composing
- accept: "Control+f"
send: Right
when: composing
- accept: "Control+a"
send: Home
when: composing
- accept: "Control+e"
send: End
when: composing
- accept: "Control+d"
send: Delete
when: composing
- accept: "Control+g"
send: Escape
when: composing
- accept: "Alt+v"
send: Page_Up
when: composing
- accept: "Control+v"
send: Page_Down
when: composing
- accept: ISO_Left_Tab
send: Page_Up
when: composing
- accept: "Shift+Tab"
send: Page_Up
when: composing
- accept: Tab
send: Page_Down
when: composing
- accept: minus
send: Page_Up
when: paging
- accept: equal
send: Page_Down
when: has_menu
- accept: comma
send: Page_Up
when: paging
- accept: period
send: Page_Down
when: has_menu
- accept: bracketleft
send: Page_Up
when: paging
- accept: bracketright
send: Page_Down
when: has_menu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment