Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

select-character 与方括号翻页冲突 #39

Closed
Jed-Z opened this issue Dec 24, 2020 · 1 comment
Closed

select-character 与方括号翻页冲突 #39

Jed-Z opened this issue Dec 24, 2020 · 1 comment

Comments

@Jed-Z
Copy link

Jed-Z commented Dec 24, 2020

select_character.lua 中:

local first_key = config:get_string('key_binder/select_first_character') or 'bracketleft'
local last_key = config:get_string('key_binder/select_last_character') or 'bracketright'

左右方括号用于“以词定字”。

default.custom.yaml 中:

key_binder/bindings: # 设置哪些键可以翻页,需要哪个取消注释即可
  - { when: paging, accept: bracketleft, send: Page_Up }
  - { when: has_menu, accept: bracketright, send: Page_Down }

左右方括号用于翻页。

前者优先级更高,翻页无效。

@wongdean
Copy link
Owner

如果你需要左右方括号翻页而不需要 select-character
那你将对应输入方案的 custom 文件注释掉引用 select-character 即可

或者修改至对应键位

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants