Giter Site home page Giter Site logo

haxine / -oh-my-rime Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mintimate/oh-my-rime

0.0 0.0 0.0 46.59 MB

The Simple Config Template Of Rime By Mintimate. QQ Chat-Group: 703260572

Home Page: https://www.mintimate.cc/

License: GNU General Public License v3.0

Lua 100.00%

-oh-my-rime's Introduction

样式

一套快速初始化rime的模板,因为平时我使用oh-my-zsh,希望大家在用这个模板的时候,有种用omz的感觉;所以我给它取名叫oh-my-rime,你也可以叫它薄荷输入法,亦或者Mint Input

如果你下载遇到困难,使用GitHub Action推送的镜像仓库:

Oh-my-rime指南

rime配置教程:

如果你有QQ帐号,可以加入群聊(禁止广告): 703260572

强烈建议配合文档进行操作!!!

本输入方案内包含:

  • 薄荷拼音-全拼输入: 全拼输入,适合的人群最多,所以也是默认的输入;
  • 小鹤双拼-薄荷定制: 基于小鹤双拼,添加定制内容。支持输入音形(形码);
  • 薄荷拼音-小鹤混输: 全拼输入的同时,支持小鹤双拼;
  • 地球拼音-薄荷定制: 基于地球拼音,添加定制内容,扩展海量词库;
  • 五笔九八-薄荷简版: 基于五笔98的精简版本,期待大家的PR。

你可以在安装后,使用『Ctrl』+『~』进行切换。(默认激活的是『薄荷拼音』)。

安装

以下教程,适用于Linux、macOS和Windows(Xp~)

  1. 安装Rime输入法并注销或重启电脑;
  2. 下载本仓库所有配置文件到本地rime配置文件;
  3. 重新部署Rime
  4. 开始使用

Tips

本地rime配置文件默认地址,如下

  • Windows
    • Weasel: %APPDATA%\Rime
  • Mac OS X
    • Squirrel: ~/Library/Rime
  • Linux
    • iBus: ~/.config/ibus/rime

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

  • Windows
    • Weasel: %TEMP%
  • Mac OS X
    • Squirrel: $TMPDIR
  • Linux
    • iBus: /tmp

配置文件说明

  • default.custom.yaml 设置输入法、如何切换输入法、翻页等
  • squirrel.custom.yaml 鼠须管( Mac 版本 )设置哪些软件默认英文输入,输入法皮肤等
  • weasel.custom.yaml 小狼毫( Win 版本 )设置哪些软件默认英文输入,输入法皮肤等

配置文件中大部分都有注释。

词库定制以及更新

本仓库的词库目录dicts,主要有:

详细说明:

dicts
├── custom_simple.dict.yaml    # 自定义词库(建议自己添加的词库可以放这里)
├── other_emoji.dict.yaml      # emoji 词库
├── other_kaomoji.dict.yaml    # 颜文字词库(按vv进行激活)
├── rime_ice.41448.dict.yaml   # 雾凇词库(GitHub action自动更新)
├── rime_ice.8105.dict.yaml    # 雾凇词库(GitHub action自动更新)
├── rime_ice.base.dict.yaml    # 雾凇词库(GitHub action自动更新)
├── rime_ice.ext.dict.yaml     # 雾凇词库(GitHub action自动更新)
├── rime_ice.cn_en.txt         # 雾凇词库(GitHub action自动更新)
├── rime_ice.en.dict.yaml      # 雾凇词库(GitHub action自动更新)
├── rime_ice.en_ext.dict.yaml  # 雾凇词库(GitHub action自动更新)
├── rime_ice.others.dict.yaml  # 雾凇词库(GitHub action自动更新)
├── terra_pinyin_base.dict.yaml     # 地球拼音自带词库
├── terra_pinyin_ext.dict.yaml      # 地球拼音自带词库
├── terra_rime_ice.base.dict.yaml   # 基于Python脚本自动转换雾凇并Action自动更新
└── wubi98_base.dict.yaml           # 五笔基础词库

后续更新词库;可以下载本仓库dicts内的文件,除了custom_simple.dict.yaml的文件,其他都进行覆盖替换即可。

如果想自己扩展词库,可以在输入法的字典配置文件内进行导入,比如薄荷拼音字典配置文件rime_mint.dict.yaml内:

---
name: rime_mint                  # 注意name和文件名一致
version: "2024.02.11"
sort: by_weight
# 此处为 输入法所用到的词库,既补充拓展词库的地方
# 雾凇拼音词库,由Github Robot自动更新
import_tables:
  - dicts/custom_simple          # 自定义
  - dicts/rime_ice.8105          # 霧凇拼音 常用字集合
  - dicts/rime_ice.41448         # 霧凇拼音 完整字集合
  - dicts/rime_ice.base          # 雾凇拼音 https://github.com/iDvel/rime-ice
  - dicts/rime_ice.ext           # 雾凇拼音 https://github.com/iDvel/rime-ice
  - dicts/other_kaomoji          # 颜文字表情(按`vv`呼出)
  - dicts/other_emoji            # Emoji(仅仅作为补充,实际使用一般是OpenCC生效)
  - dicts/rime_ice.others        # 雾凇拼音 others词库(用于自动纠错)
...

支持

参考/致谢

  1. Rime-RimeWithSchemata
  2. Rime/小狼豪/鼠须管 输入法配置记
  3. rime-setting
  4. 雾凇拼音 | 长期维护的简体词库
  5. rime-radical-pinyin | Rime 部件拆字输入方案(全拼双拼)

推荐项目

⭐⭐⭐

Star History

Star History Chart

-oh-my-rime's People

Contributors

github-actions[bot] avatar mintimate avatar yummycocoa avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.