代码拉取完成,页面将自动刷新
squirrel.custom.yaml
# 我的macos鼠须管配置文件
# 文件位置,右上角用户设定打开即可,会显示该文件夹,创建 squirrel.custom.yaml 文件即可
/Users/jcleng/Library/Rime/squirrel.custom.yaml
# 输入状态下f4可选择输入方式
# 配置
https://scomper.me/gtd/shu-xu-guan-shu-ru-fa-de-xin-pei-se
# 更多主题 推荐的开源项目
https://github.com/wongdean/rime-settings
# 在线生成
https://gjrobert.github.io/Rime-See-Me-squirrel/
weasel.custom.yaml
# windos小狼毫的配置皮肤文件
default.custom.yaml
# 通用配置按键文件
## Linux-fcitx5的配置,,手动创建即可 ~/.local/share/fcitx5/rime/default.custom.yaml 配置重启之后会重新生成当前目录的:build/default.yaml
# 基本配置
default.yaml
# 然后是对应的主题配置,我使用 [极致简约] 对应的配置文件就是(还有资源文件,如背景等在rime\backgrounds目录里面,,这里没有提交上来):
极致简约.trime.yaml
# 默认配置的方案是 default.custom.yaml, schema是: luna_pinyin_simp
patch:
schema_list:
- schema: luna_pinyin_simp # 只保留简化字
# 配置快捷键那么就需要[部署],然后复制对应的 build\luna_pinyin_simp.schema.yaml 到 配置根目录的luna_pinyin_simp.schema.yaml
# 然后以后的配置就配置 luna_pinyin_simp.schema.yaml 文件了
# 根目录新增 rime.lua 文件
function time_translator(input, seg)
if (input == "rq") then
local cand = Candidate("date", seg.start, seg._end, os.date("%Y/%m/%d"), "")
cand.quality = 1
yield(cand)
end
if (input == "sj") then
local cand = Candidate("time", seg.start, seg._end, os.date("%H:%M"), " ")
cand.quality = 1
yield(cand)
end
end
# 配置 luna_pinyin_simp.schema.yaml 增加对应的函数即可
engine/translators:
- lua_translator@time_translator
# 重新部署之后输入rq或者sj即可
# 配置文档: https://github.com/LEOYoon-Tsaw/Rime_collections/blob/master/Rime_description.md
新增文件: lua\reverse.lua
rime.lua 增加:
reverse_lookup_filter = require("reverse")
luna_pinyin_simp.schema.yaml 增加:
engine:
filters:
- simplifier
- uniquifier
- lua_filter@reverse_lookup_filter
# 这里有很多配置
https://github.com/hchunhui/librime-lua/blob/master/sample/rime.lua
# 复制然后本项目的主题文件: weasel.custom.yaml
# 然后合并本项目 default.custom.yaml 文件
# 注意是在patch下,与schema_list同级
# 无需配置punctuator的full_shape和half_shape
menu/page_size: 9 # 输入框待选项个数
ascii_composer/switch_key: # ctrl&&shift 切换键效果
Caps_Lock: clear # 清屏幕
Shift_L: commit_code # 上档code
Control_L: noop # 不处理
Shift_R: inline_ascii # 切换字符不上档
Control_R: noop # 不处理
key_binder:
bindings:
- { when: composing, accept: Control+c, send: Escape } # ctrl-c 清屏
- { when: composing, accept: -, send: Page_Up } # 候选词分页
- { when: composing, accept: =, send: Page_Down } # 候选词分页
- { when: always, accept: Control+period, toggle: ascii_punct } # 切换西文/中文标点 Ctrl + .
fcitx-rime 主题配置:https://github.com/hosxy/Fcitx5-Material-Color.git
/home/jcleng/.config/fcitx5/conf/rime.conf
# 在程序中显示预编辑文本
PreeditInApplication=False
# 取消激活输入法时提交当前文本。
Commit when deactivate=False
# 自动加载可用插件
AutoloadPlugins=False
# 插件
Plugins=
# 模块
Modules=
/home/jcleng/.config/fcitx5/conf/classicui.conf 使用主题 Material-Color
# 垂直候选列表
Vertical Candidate List=False
# 按屏幕 DPI 使用
PerScreenDPI=True
# 使用鼠标滚轮翻页
WheelForPaging=False
# 字体 和字体大小,需重启进程
Font="Sans 12"
# 菜单字体
MenuFont="Sans 12"
# 使用输入法的语言来显示文字
UseInputMethodLangaugeToDisplayText=True
# 主题
Theme=Material-Color
/home/jcleng/.local/share/fcitx5/themes/Material-Color/theme.conf 主题文件
[Metadata]
Name=Material-Color
Version=0.1
Author=hosxy
Description=Material Color Theme
ScaleWithDPI=True
[InputPanel]
# 字体
# Font=Sans 13
Font=Sans 13
# 非选中候选字颜色
NormalColor=#ffffff
# 选中候选字颜色
HighlightCandidateColor=#F92772
# 高亮前景颜色(输入字符颜色)
HighlightColor=#75BFF4
# 输入字符背景颜色
HighlightBackgroundColor=#222827
#
Spacing=3
[InputPanel/TextMargin]
# 候选字对左边距
Left=10
# 候选字对右边距
Right=10
# 候选字向上边距
Top=6
# 候选字向下边距
Bottom=6
[InputPanel/Background]
Color=#272822
BorderColor=#AE81FF
BorderWidth=0
[InputPanel/Background/Margin]
Left=2
Right=2
Top=2
Bottom=2
[InputPanel/Highlight]
Color=#000000
[InputPanel/Highlight/Margin]
# 高亮区域左边距
Left=10
# 高亮区域右边距
Right=10
# 高亮区域上边距
Top=7
# 高亮区域下边距
Bottom=7
[Menu/Background]
Color=#ffffff
[Menu/Background/Margin]
Left=2
Right=2
Top=2
Bottom=2
[Menu/ContentMargin]
Left=2
Right=2
Top=2
Bottom=2
[Menu/Highlight]
Color=#000000
[Menu/Highlight/Margin]
Left=10
Right=10
Top=5
Bottom=5
[Menu/Separator]
Color=#000000
[Menu/CheckBox]
Image=radio.png
[Menu/SubMenu]
Image=arrow.png
[Menu/TextMargin]
Left=5
Right=5
Top=5
Bottom=5
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。