Skip to content

Commit

Permalink
个人设定
Browse files Browse the repository at this point in the history
  • Loading branch information
e71828 committed May 30, 2024
1 parent 9c4399a commit f10f43c
Show file tree
Hide file tree
Showing 14 changed files with 371 additions and 3,431 deletions.
25 changes: 25 additions & 0 deletions Windows-使用 plum 安装后复制内容.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
#!/usr/bin/env bash
echo "Running rime-install"
"$APPDATA/plum/rime-install" e71828/ice
echo "Finished rime-install"

echo "Copying custom.yaml files"
cp "$APPDATA"/plum/package/e71828/ice/default.custom.yaml "$APPDATA"/Rime/
cp "$APPDATA"/plum/package/e71828/ice/rime_ice.custom.yaml "$APPDATA"/Rime/

echo "Copying lua files"
cp "$APPDATA"/plum/package/e71828/ice/rime.lua "$APPDATA"/Rime/ice.rime.lua
touch "$APPDATA"/Rime/jidian.rime.lua
cat "$APPDATA"/Rime/ice.rime.lua "$APPDATA"/Rime/jidian.rime.lua > "$APPDATA"/Rime/rime.lua

echo "Creating and diffing lua files"
touch "$APPDATA/Rime/ice.rime.lua"
cat "$APPDATA/Rime/ice.rime.lua" "$APPDATA/Rime/jidian.rime.lua" > "$APPDATA/Rime/rime.lua"

echo "Copying ico and preview directories"
cp "$APPDATA"/plum/package/e71828/ice/cn_dicts "$APPDATA"/Rime/ -r
cp "$APPDATA"/plum/package/e71828/ice/en_dicts "$APPDATA"/Rime/ -r
cp "$APPDATA"/plum/package/e71828/ice/lua "$APPDATA"/Rime/ -r
cp "$APPDATA"/plum/package/e71828/ice/ice.ico "$APPDATA"/Rime/

echo "All tasks completed"
33 changes: 33 additions & 0 deletions default.custom.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Rime default settings
# encoding: utf-8
#
# 小狼毫似乎不支持 Control+Shift 开头的快捷键,可自行修改成别的。
# 鼠须管在 Sublime Text、Telegram 等个别软件中也无法使用 Control+Shift+数字 的快捷键,可暂时用方案选单切换。



patch:
# 方案列表
schema_list:
# 可以直接删除或注释不需要的方案,对应的 *.schema.yaml 方案文件也可以直接删除
# 除了 t9,它依赖于 rime_ice,用九宫格别删 rime_ice.schema.yaml
- schema: rime_ice # 雾凇拼音(全拼)
- schema: wubi86_jidian # 五笔
- schema: pinyin_simp # 五笔


# 菜单
menu:
page_size: 5 # 候选词个数
# alternative_select_labels: [ ①, ②, ③, ④, ⑤, ⑥, ⑦, ⑧, ⑨, ⑩ ] # 修改候选项标签
# alternative_select_keys: ASDFGHJKL # 如编码字符占用数字键,则需另设选字键


# 方案选单相关
switcher:
hotkeys: # 弹出菜单的快捷键
- "Control+0"
- "Shift+Control+0"
abbreviate_options: true
caption: "【 输入法设置 】"
option_list_separator: ""
Loading

0 comments on commit f10f43c

Please sign in to comment.