squirrel icon indicating copy to clipboard operation
squirrel copied to clipboard

无法启用caps_lock切换英文输入法并且小写

Open eee-du opened this issue 9 years ago • 4 comments

我根据官方教程 设置 default.custom.yaml ascii_composer/good_old_caps_lock: false Caps_Lock: commit_code 但是按下caps_lock 仍然是大写 怎么改成和mac自带中文一样caps_lock 是切换英文输入法并且小写?

这是我的yaml文件 patch: switcher: caption: 〔方案选单〕 hotkeys: - Control+grave #下面定义中英文切换的方式 ascii_composer/good_old_caps_lock: false ascii_composer/switch_key: Caps_Lock: commit_code Return: commit_code Eisu_toggle: clear Shift_L: commit_text Shift_R: inline_ascii

eee-du avatar May 06 '16 08:05 eee-du

貼出的代碼沒有縮進。如果錄入正確,可以奏效。 參見引用多行代碼的 Markdown 語法: https://help.github.com/articles/basic-writing-and-formatting-syntax/#quoting-code

lotem avatar May 12 '16 10:05 lotem

@lotem

eee-du avatar May 12 '16 10:05 eee-du

@lotem 我也有此問題, 如下設置, 並且重新部署後無效.

想要達到的效果爲單擊 Shift_L 不要切換中英文, 只有在 Caps_Lock 按下之後再切換中英文.

# squirrel.custom.yaml
# encoding: utf-8

patch:
  ascii_composer/good_old_caps_lock: false
  ascii_composer/switch_key:
    Caps_Lock: commit_code
    Shift_L: noop
distribution_code_name: Squirrel
distribution_name: "鼠鬚管"
distribution_version: 0.14.0
install_time: "Mon Jan 25 00:34:34 2021"
installation_id: "e546304f-506b-4698-9f36-de0883884111"
rime_version: 1.5.3

iugo avatar Jan 24 '21 17:01 iugo

找到我遇到的问题的原因了: https://gist.github.com/lotem/2981316#gistcomment-1242290

squirrel.custom.yaml 只有鼠须管的设置, 并不能设置 rime 的. 而快捷键属于 rime 的设置, 要放在 default.custom.yaml 这个文件内.

iugo avatar Jan 24 '21 17:01 iugo