Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
在 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 }
@lotem

This comment has been minimized.

Copy link
Owner Author

lotem commented Oct 16, 2012

也可用於全局設定 default.custom.yaml ,在所有(引用default設定的)輸入方案中生效。

@pactzhao

This comment has been minimized.

Copy link

pactzhao commented Jul 20, 2013

小狼毫能用吗?弄上好像不好使

@qxj

This comment has been minimized.

Copy link

qxj commented Nov 5, 2014

小狼毫可以用。

@Edenharder

This comment has been minimized.

Copy link

Edenharder commented Dec 1, 2015

OS EI Captian不能用。

@yqrashawn

This comment has been minimized.

Copy link

yqrashawn commented Dec 10, 2015

为什么我的default.custom.yaml 无法覆盖default,而其他的custom文件就可以呢。格式什么的没错啊。

@tshu-w

This comment has been minimized.

Copy link

tshu-w commented Feb 13, 2016

@Edenharder 可以使用,不过我是在default.custom.yaml 中加入下面内容
key_binder/bindings:
- when: paging
accept: bracketleft
send: Page_Up
- when: has_menu
accept: bracketright
send: Page_Down

@sundevilyang

This comment has been minimized.

Copy link

sundevilyang commented May 22, 2016

请问怎么设置称 “-” “=”翻页呢?

@liuxueyang

This comment has been minimized.

Copy link

liuxueyang commented Jun 16, 2016

@sundevilyang 可以试试这样:

  key_binder/bindings:
    - when: has_menu
      accept: minus
      send: Page_Up
    - when: has_menu
      accept: equal
      send: Page_Down
@nutting

This comment has been minimized.

Copy link

nutting commented Jun 29, 2016

请教 < > (, .)这俩是什么名字

@aizigao

This comment has been minimized.

Copy link

aizigao commented Sep 17, 2017

键位名在哪里看的,我想设置 ;’ 为第二第三候选项

@Vergegung

This comment has been minimized.

Copy link

Vergegung commented Dec 26, 2018

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

@kedyyan

This comment has been minimized.

Copy link

kedyyan commented Mar 7, 2019

thanks.习惯用-+翻页了。感谢这个教程,设置好了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.