Classic minimal rime configuration

From 清冽之泉
Revision as of 16:57, 20 November 2024 by Mwroot (talk | contribs) (Created page with "Rime 是一款极致的开源输入法,有非常丰富的可定制细节,没有任何广告,输入体验舒服到近乎无知觉。Windows、Linux、MacOS、安卓等全平台适用。还你一个没有干扰、全然自主的输入法。 以下是一些对 Rime 输入法<b>仓颉输入方案</b>的定制,实现效果为: * 平均三键就能打出任何字,很少选字、翻页,省手省心 * 再也不会忘记一个字长啥样,延续文化血脉 * 比...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Rime 是一款极致的开源输入法,有非常丰富的可定制细节,没有任何广告,输入体验舒服到近乎无知觉。Windows、Linux、MacOS、安卓等全平台适用。还你一个没有干扰、全然自主的输入法。

以下是一些对 Rime 输入法仓颉输入方案的定制,实现效果为:

  • 平均三键就能打出任何字,很少选字、翻页,省手省心
  • 再也不会忘记一个字长啥样,延续文化血脉
  • 比五笔能打的字多得多,专业级输入
  • 可定制学科词汇,简便键入
  • 比双拼对英文更友好
  • 格局、配色全凭自主
  • 和错別字说拜拜
  • 错码一键取消
  • 可以闭眼打字
  • 隐私无忧

让打字变成一种享受,让文字的力量在指间流淌!一起感受文字中蕴藏的秘密!

cangjie5.custom.yaml

# cangjie5.custom.yaml
# utf-8
# unix

patch:
  translator/preedit_format:
    - xform/.//
  translator/comment_format:
    - xform/.//
  translator/enable_encoder: false
  translator/encode_commit_history: false
  translator/enable_completion: false
  translator/sentence_over_completion: false
  translator/enable_sentence: false
  translator/enable_user_dict: false
  translator/max_phrase_length: 1
  translator/dictionary: qing5personal
  abc_segmentor/extra_tags: {}
  filters/single_char_filter: true
  simplifier/tips: none
  punctuator/full_shape:
      "@": "@"
      "#": "#"
      "$": "$"
      "%": "%"
      "*": "*"
      "{": "{"
      "}": "}"
      "=": "="
  punctuator/half_shape:
      "@": "@"
      "#": "#"
      "$": "$"
      "%": "%"
      "*": "*"
      "{": "{"
      "}": "}"
      "=": "="
  "switches/@0/reset":

default.custom.yaml

# default.custom.yaml

patch:
  "key_binder/bindings":
    - {accept: comma, send: Escape, when: composing}
    - {accept: equal, send: Page_Down, when: composing}
    - {accept: minus, send: Page_Up, when: paging}
  "menu/page_size": 3
  schema_list:
    - {schema: cangjie5}
    - {schema: luna_pinyin_simp}
  "style/font_face": "TW-MOE-Std-Kai"
  "switcher/hotkeys":
    - "Control+grave"

qing5personal.dict.yaml

# qing5personal.dict.yaml
# utf-8
# unix line end
# 必须tab分割

---
name: qing5personal
version: 0.1
import_tables:
  - cangjie5
...

# 自
xahlee.info	kx
wiki.debian	kx

<syntaxhighlight lang="bash" line>	zdm
</syntaxhighlight del="sure">	zdm

weasel.custom.yaml

# weasel.custom.yaml
# 仅适用于 Windows 平台的小狼毫
# encoding: utf-8

patch: 
  style:
    color_scheme: aqua
    font_face: Microsoft YaHei
    font_point: 14
    horizontal: false
    fullscreen: false
    inline_preedit: false
    preedit_type: composition
    display_tray_icon: false
    label_format: "%s."
    layout:
      min_width: 1
      min_height: 0
      border_width: 3
      margin_x: 12
      margin_y: 12
      spacing: 10
      candidate_spacing: 5
      hilite_spacing: 4
      hilite_padding: 2
      round_corner: 4

rime.lua

-- 敲 zz 输入今天的日期
function date_translator_sj(input, seg)
   if (input == "zz") then
      --- Candidate(type, start, end, text, comment)
      local currentDate = os.date("%Y%m%d")
      yield(Candidate("date", seg.start, seg._end, currentDate, " "))
   end
end
# 与上一段代码配合生效
# 去 xx.schema.yaml 中编辑
# 以下前两行代码都已存在,添第三行即可
engine:
  translators:
    - lua_translator@date_translator_sj