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

添加了两个外观样式,一个了计算器功能,以及两套的切换输入状态图标 #153

Draft
wants to merge 103 commits into
base: dev
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
103 commits
Select commit Hold shift + click to select a range
0efbc1a
doc: 更新配置文档
Mintimate Mar 18, 2024
5ce3c6c
AutoUpdate Rime-ice Dicts
github-actions[bot] Mar 18, 2024
ec79ca6
sync: 同步拆字词典
Mintimate Mar 19, 2024
4418fcc
feat: 小鹤双拼拆字风格适配
Mintimate Mar 19, 2024
7701a08
AutoUpdate Rime-ice Dicts
github-actions[bot] Mar 24, 2024
06a2563
AutoUpdate Rime-ice Dicts
github-actions[bot] Mar 24, 2024
3bf6416
!feat: 使用default替代default.custom
Mintimate Mar 24, 2024
4c72ef6
AutoUpdate Rime-ice Dicts
github-actions[bot] Mar 24, 2024
eb110dd
AutoUpdate Rime-ice Dicts
github-actions[bot] Mar 25, 2024
afd7d6c
AutoUpdate Rime-ice Dicts
github-actions[bot] Mar 26, 2024
e3f0a91
fix(小鹤双拼): 修复触发字与key_binder冲突问题
Mintimate Mar 27, 2024
2db8800
AutoUpdate Rime-ice Dicts
github-actions[bot] Mar 27, 2024
582ecc2
AutoUpdate Rime-ice Dicts
github-actions[bot] Mar 28, 2024
fd16f94
doc: 添加Rime自带的纠错指南(默认未启用)
Mintimate Mar 28, 2024
4375746
perf: 优化拼写速度
Mintimate Mar 29, 2024
8b487ed
fix: 修复「辅码 lua」上屏问题
Mintimate Mar 30, 2024
b513fe2
perf: 优化拼写速度
Mintimate Mar 30, 2024
8d8781b
AutoUpdate Rime-ice Dicts
github-actions[bot] Mar 31, 2024
51779ac
!feat: 反查统一使用U开头
Mintimate Apr 3, 2024
a2d3cb0
AutoUpdate Rime-ice Dicts
github-actions[bot] Apr 7, 2024
7c1c5cd
AutoUpdate Rime-ice Dicts
github-actions[bot] Apr 7, 2024
46a070d
!feat: 颜文字词库替换唤醒词
Mintimate Apr 11, 2024
5a9a29b
fix: 鼠须管纵向无法被覆写问题
Mintimate Apr 14, 2024
0a5b61b
AutoUpdate Rime-ice Dicts
github-actions[bot] Apr 14, 2024
33afe39
AutoUpdate Rime-ice Dicts
github-actions[bot] Apr 14, 2024
450e0d3
doc: README内更新iOS和Android部署视频教程
Mintimate Apr 23, 2024
c4e1c60
style: 修改方案引入写法
YummyCocoa Apr 25, 2024
88ede4c
feat: 基于仓九宫格布局适配九宫格输入
YummyCocoa Apr 25, 2024
93ecf16
fix: 修复 auxCode.lua 内转义问题
YummyCocoa Apr 25, 2024
bf7a4e3
feat: 同步 自动纠错 Lua
Mintimate Apr 26, 2024
e263a21
feat: 适配新的主题
Mintimate Apr 28, 2024
b3a0399
feat(小狼毫配置): 部分应用仅能使用内嵌模式
Mintimate Apr 28, 2024
42abde7
!feat: 日期/星期/时间/月份 Lua 整合
YummyCocoa Apr 30, 2024
4f10fbb
refactor: 重构98五笔
Mintimate May 1, 2024
413829d
feat: 适配 五笔86
Mintimate May 1, 2024
01214df
doc: 调整词库的描述说明
Mintimate May 5, 2024
469c51a
doc: 完善86五笔说明文档
Mintimate May 5, 2024
a2b2a27
AutoUpdate Rime-ice Dicts
github-actions[bot] May 5, 2024
4a69bb7
fix: 小狼毫内高亮候选无效情况
YummyCocoa May 6, 2024
be25261
style: 中文模式使用ASCII字符配置调整
YummyCocoa May 7, 2024
4b558f2
feat: 自然码/智能ABC/微软/搜狗/紫光双拼
YummyCocoa May 7, 2024
f06f9a6
test(薄荷全拼): 更好的简拼
momadacoding May 7, 2024
aebd36b
dict: [颜文字] Encode failure
mirtlecn May 13, 2024
abb60fb
style: 移除radical_flypy内未使用的配置
mirtlecn May 13, 2024
d162fb6
feat(小狼毫配置): 字号百分比配置
mirtlecn May 13, 2024
d0c8120
dict: fix [㹴]
mirtlecn May 13, 2024
92cdb12
fix(lua): number_translator 不再捕获大写单词
mirtlecn May 13, 2024
40c947f
chore: use upstream ibus_rime
mirtlecn May 13, 2024
2b63fc7
AutoUpdate Rime-ice Dicts
github-actions[bot] May 15, 2024
d46c91e
test: 使用暴力GC尝试解决小狼毫卡顿问题
YummyCocoa May 15, 2024
52daba2
!feat: 调整代码结构以适配rimetool
Mintimate May 29, 2024
31895ce
fix: 解决适配 rimetool 的部分问题
YummyCocoa May 30, 2024
30c74c8
AutoUpdate Rime-ice Dicts
github-actions[bot] Jun 5, 2024
80dcec1
chore: Emoji字典不再激活,Emoji完全使用OpenCC
Mintimate Jun 7, 2024
6fd3f43
test(dicts): 尝试移除大字库和扩展库,测试卡顿
Mintimate Jun 8, 2024
837f759
fix: 修复未激活的方案内,拆字引入错误
Mintimate Jun 9, 2024
a745d57
Revert: 恢复「雾凇扩展字库」
YummyCocoa Jun 12, 2024
1c91dee
feat: 未激活方案适配rimetool
Mintimate Jun 14, 2024
930b768
AutoUpdate Rime-ice Dicts
github-actions[bot] Jun 15, 2024
48a1947
fix: 五笔翻译器
YummyCocoa Jul 2, 2024
9fb7d22
chore: 排除自定义排除文件
YummyCocoa Jul 4, 2024
b606836
feat: 适配 plum
YummyCocoa Jul 4, 2024
cc85266
fix: 移除重复配置
Mintimate Jul 4, 2024
6008d00
fix: 修复「辅码 lua」不激活时可能依旧加载导致卡顿
YummyCocoa Jul 5, 2024
cb7ddef
AutoUpdate Rime-ice Dicts
github-actions[bot] Jul 5, 2024
8c51bd8
fix: 修复小鹤辅码单字无法使用
YummyCocoa Jul 8, 2024
dd8e264
加入墨奇辅助码
gaboolic Jul 12, 2024
d643a78
辅助码配置修改
gaboolic Jul 12, 2024
1a6ca94
doc: 无形码双拼使用墨奇辅码
YummyCocoa Jul 12, 2024
c736842
Merge branch 'gaboolic-main'
YummyCocoa Jul 12, 2024
5341997
doc: 支持Fcitx5 macOS
Mintimate Jul 15, 2024
e4df909
doc: 更新98五笔地址
Mintimate Jul 16, 2024
3b40593
fix: 修复音形辅码常驻失效问题
Mintimate Jul 21, 2024
ad684ca
doc: 切换词库
Mintimate Jul 29, 2024
5dcf544
AutoUpdate Rime-frost Dicts
github-actions[bot] Aug 5, 2024
e93ea21
fix: 薄荷全拼内偏旁部件拆字引入错误
Mintimate Aug 6, 2024
c1eff34
摄氏度和华氏度输出应该是一个字符,而不是°+C/F
childeyouyu Aug 28, 2024
b4b4956
doc: 小狼毫配置的描述信息
Mintimate Aug 30, 2024
189b556
fix: symbols映射
Mintimate Aug 31, 2024
8cbace9
AutoUpdate Rime-frost Dicts
github-actions[bot] Sep 5, 2024
5248941
fix: symbols多字符匹配
Mintimate Sep 10, 2024
a3c3413
sync(鼠须管): 同步上游代码
Mintimate Sep 14, 2024
46347cc
fix: 修复全拼内五笔反查
Mintimate Sep 16, 2024
b095a11
pref: symbols多字符匹配
Mintimate Sep 25, 2024
6a0e77c
doc: README 使用文档图床
Mintimate Sep 30, 2024
03fdc65
feat: 纠错添加原有注释选项
Mintimate Oct 2, 2024
4b6c0b3
AutoUpdate Rime-frost Dicts
github-actions[bot] Oct 5, 2024
2fbe237
fix(快捷键): 繁体/简体
Mintimate Oct 25, 2024
f3fe67b
fix: 黑水鸭和蓝水鸭拼音
splendid-pilot Oct 25, 2024
2aaeec7
feat: timestamp 时间戳快捷输入
JacianLiu Oct 26, 2024
d718661
pref(辅助码): 提示保留原有 comment 内容
JacianLiu Oct 27, 2024
8a181ed
feat: 地球拼音加词频填充
Mintimate Oct 30, 2024
80ad222
fix(terra): 词典配置同步
Jian787 Oct 30, 2024
dd80980
Add files via upload
Jormungand-x Nov 5, 2024
c439dc6
Delete calculator.lua
Jormungand-x Nov 5, 2024
9c70d7f
计算器的lua
Jormungand-x Nov 5, 2024
463fd1b
1.给所有输入方案中都加入了计算器功能,通过大写V触发,涉及的方案文件分别为
Jormungand-x Nov 6, 2024
66ebdbb
1.添加图标文件。
Jormungand-x Nov 6, 2024
55ab365
修改方案文件中输入法显示的图标样式
Jormungand-x Nov 6, 2024
82c026d
修改了输入图标文件夹的名字
Jormungand-x Nov 6, 2024
bf1b516
1.关闭default.yaml文件中,F4切换方案按键
Jormungand-x Nov 7, 2024
178e380
一键展开为超级简拼功能的lua
Jormungand-x Nov 7, 2024
8a8e7a7
删除掉一键展开简拼功能
Jormungand-x Nov 7, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
!feat: 使用default替代default.custom
BREAKING CHANGE: 移除输入法的custom全局个性化补丁配置,使用个性化配置代替

同为输入法一定需要default.yaml,同时空余出default.custom.yaml方便更新配置时候,自定义配置可以保留。

同文输入法、仓输入法主题可以参考:
- https://github.com/Mintimate/RimeTheme

resolved: #38
  • Loading branch information
Mintimate committed Mar 24, 2024
commit 3bf641623b749bda57655e441b08476cc75f2182
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ rime配置教程:
- Squirrel: `~/Library/Rime`
- Linux
- iBus:` ~/.config/ibus/rime`
- Fcitx5: `~/.local/share/fcitx5/rime`
- Fctix5 Android(小企鹅入法): `/storage/emulated/0/Android/data/org.fcitx.fcitx5.android/files/data/rime/`

本地rime日志文件默认地址如下:

Expand All @@ -61,6 +63,8 @@ rime配置教程:
- Squirrel: `$TMPDIR`
- Linux
- iBus:` /tmp`

如果你需要在同文输入法内使用,需要一个键盘模板和皮肤,可以使用: [薄荷输入法的”蓝水鸭“和”黑水鸭“皮肤布局](https://www.mintimate.cc/zh/demo/diffAppearance.html#android%E5%A4%96%E8%A7%82)

## 配置文件说明

Expand Down
3 changes: 3 additions & 0 deletions README_en.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ The default address of the local rime configuration file is as follows
- Squirrel: `~/Library/Rime`
- Linux
- iBus: `~/.config/ibus/rime`
- Fcitx5: `~/.local/share/fcitx5/rime`
- Fctix5 Android: `/storage/emulated/0/Android/data/org.fcitx.fcitx5.android/files/data/rime/`

The default address of the local rime log file is as follows:
-Windows
Expand All @@ -59,6 +61,7 @@ The default address of the local rime log file is as follows:
- Linux
-iBus:`/tmp`

If you need to use rime in trime with android, you can use oh-my-rime's theme by: [Mint_light_blue and Mint_dark_blue](https://www.mintimate.cc/zh/demo/diffAppearance.html#android%E5%A4%96%E8%A7%82)

## Configuration file description

Expand Down
5 changes: 4 additions & 1 deletion README_zh-CHT.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ rime配置教程:
- Squirrel: `~/Library/Rime`
- Linux
- iBus:` ~/.config/ibus/rime`
- Fcitx5: `~/.local/share/fcitx5/rime`
- Fctix5 Android(小企鵝輸入法): `/storage/emulated/0/Android/data/org.fcitx.fcitx5.android/files/data/rime/`

本地rime日誌文件默認地址如下:
- Windows
Expand All @@ -59,7 +61,8 @@ rime配置教程:
- Squirrel: `$TMPDIR`
- Linux
- iBus:` /tmp`


如果妳需要在同文輸入法內使用,需要一個鍵盤模闆和皮膚,可以使用: [薄荷輸入法的”藍水鴨“和”黑水鴨“皮膚佈局](https://www.mintimate.cc/zh/demo/diffAppearance.html#android%E5%A4%96%E8%A7%82)

## 配置文件說明

Expand Down
21 changes: 0 additions & 21 deletions default.custom.yaml

This file was deleted.

170 changes: 170 additions & 0 deletions default.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,170 @@
# Rime default settings
# encoding: utf-8

# Fork From: https://github.com/rime/librime/blob/3bc65c990546aa2062ecd1eb593d54d2949644cd/data/minimal/default.yaml
config_version: "24.03.24"

# 以下内容,实际会由default.custom.yaml和方案配置所覆写

schema_list:
- {schema: rime_mint} # 薄荷拼音
- {schema: double_pinyin_flypy} # 小鹤双拼
- {schema: rime_mint_flypy} # 薄荷拼音-小鹤混输方案
- {schema: terra_pinyin} # 地球拼音-薄荷定制
- {schema: wubi98_mint} # 五笔98-薄荷简版

switcher:
# 切换方案时显示的标题
caption: 〔方案切换〕
# 切换方案的快捷键
hotkeys:
- Control+grave
- Control+Shift+grave
# F4 和 JetBrains 的快捷键冲突
# - F4
# 在切换方案时保留的选项
save_options:
- full_shape # 保留全角模式
- ascii_punct # 保留西文模式
- transcription # 保留汉字简繁体选项
- emoji_suggestion # Emoji
# 折叠选项以节省空间
fold_options: true
# 对选项进行缩写
abbreviate_options: true
# 选项之间的分隔符
option_list_separator: '/'

menu:
# 候选词个数
page_size: 6

translator:
# 启用自动造词
enable_encoder: true
# 启用自动句子输入
enable_sentence: true
# 启用用户词典
enable_user_dict: true
# 对已上屏的词语进行自动编码以提高下次输入的命中率
encode_commit_history: true

punctuator:
full_shape:
' ' : { commit: ' ' }
',' : { commit: , }
'.' : { commit: 。 }
'<' : [ 《, 〈, «, ‹ ]
'>' : [ 》, 〉, », › ]
'/' : [ /, ÷ ]
'?' : { commit: ? }
';' : { commit: ; }
':' : { commit: : }
'''' : { pair: [ '‘', '’' ] }
'"' : { pair: [ '“', '”' ] }
'\' : [ 、, \ ]
'|' : [ ・, |, '§', '¦' ]
'`' : `
'~' : [ 〜, ~, 〰 ]
'!' : { commit: ! }
'@' : [ @, ☯ ]
'#' : [ #, ⌘ ]
'%' : [ %, '°', '℃' ]
'$' : [ ¥, '$', '€', '£', '¥', '¢', '¤' ]
'^' : { commit: …… }
'&' : &
'*' : [ *, ・, ·, ×, ※, ❂ ]
'(' : (
')' : )
'-' : -
'_' : ——
'+' : +
'=' : =
'[' : [ 「, 【, 〔, [ ]
']' : [ 」, 】, 〕, ] ]
'{' : [ 『, 〖, { ]
'}' : [ 』, 〗, } ]
half_shape:
',' : { commit: , }
'.' : { commit: 。 }
'<' : [ 《, 〈, «, ‹ ]
'>' : [ 》, 〉, », › ]
'/' : [ 、, '/', /, ÷ ]
'?' : { commit: ? }
';' : { commit: ; }
':' : { commit: : }
'''' : { pair: [ '‘', '’' ] }
'"' : { pair: [ '“', '”' ] }
'\' : [ 、, '\', \ ]
'|' : [ ・, '|', |, '§', '¦' ]
'`' : '`'
'~' : [ '~', 〜, ~, 〰 ]
'!' : { commit: ! }
'@' : '@'
'#' : '#'
'%' : [ '%', %, '°', '℃' ]
'$' : [ ¥, '$', '€', '£', '¥', '¢', '¤' ]
'^' : { commit: …… }
'&' : '&'
'*' : [ '*', *, ・, ·, ×, ※, ❂ ]
'(' : (
')' : )
'-' : '-'
'_' : ——
'+' : '+'
'=' : '='
'[' : [ 「, 【, 〔, [ ]
']' : [ 」, 】, 〕, ] ]
'{' : [ 『, 〖, { ]
'}' : [ 』, 〗, } ]

key_binder:
bindings:
# Emacs 风格的快捷键
- { when: composing, accept: Control+p, send: Up } # composing 时,Control+p 等同于 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+k, send: Shift+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: Shift+Left } # ISO_Left_Tab 是 Shift+Tab
- { when: composing, accept: Shift+Tab, send: Shift+Left }
- { when: composing, accept: Tab, send: Shift+Right }
# 翻页
- { when: paging, accept: minus, send: Page_Up } # 编码窗口翻页
- { when: has_menu, accept: equal, send: Page_Down }
- { when: paging, accept: comma, send: Page_Up } # 候选窗口翻页
- { when: has_menu, accept: period, send: Page_Down }
- { when: predicting, accept: comma, send: comma } # 在预编码模式下,不当作快捷键
- { when: predicting, accept: period, send: period }
# 切换状态
- { when: always, accept: Control+Shift+1, select: .next } # 切换输入方案
- { when: always, accept: Control+Shift+2, toggle: ascii_mode } # 切换中/西文模式
- { when: always, accept: Control+Shift+3, toggle: full_shape } # 切换全角/半角
- { when: always, accept: Control+Shift+4, toggle: simplification } # 切换简体/繁体
- { when: always, accept: Control+Shift+5, toggle: extended_charset } # 切换扩展字符
- { when: always, accept: Shift+space, toggle: full_shape } # 另一种切换全角/半角的方式
- { when: always, accept: Control+period, toggle: ascii_punct } # 切换中/西文标点

recognizer:
# 定义识别码的正则表达式规则
patterns:
email: "^[a-z][-_.0-9a-z]*@.*$" # 匹配电子邮件地址
uppercase: "[A-Z][-_+.'0-9A-Za-z]*$" # 匹配大写字母开头的字符串
url: "^(www[.]|https?:|ftp:|mailto:).*$|^[a-z]+[.].+$" # 匹配 URL 或域名

ascii_composer:
# 定义切换到西文模式的快捷键
switch_key:
Caps_Lock: commit_code # 按下 Caps Lock 会直接上屏
Control_L: noop # 按下左 Control 键不做任何操作
Control_R: noop # 按下右 Control 键不做任何操作
Shift_L: commit_code # 按下左 Shift 键会直接上屏
Shift_R: inline_ascii # 按下右 Shift 键会临时切换到西文模式
good_old_caps_lock: true # 启用经典的 Caps Lock 开启西文模式的方式
Loading