Giter Site home page Giter Site logo

rime's Introduction

ArchLinx 输入法配置

本文主要介绍如何在hyprland中使用fcitx,其他 WM 中步骤大同小异。

安装

1.安装fcitx5框架

sudo pacman -S fcitx5-im

2.安装rime和双拼方案

sudo pacman -S fcitx5-rime rime-double-pinyin

3.克隆本repo

  • 将 fcitx5 文件夹复制到 ~/.config/ 目录下
  • 将 rime 文件夹复制到 ~/.local/share/fcitx5/ 目录下

配置

编辑 /etc/environment 文件配置环境变量:

GTK_IM_MODULE=fcitx
QT_IM_MODULE=fcitx
SDL_IM_MODULE=fcitx
XMODIFIERS=@im=fcitx

美化

克隆以下repo到本地

https://github.com/ayamir/fcitx5-nord.git
https://github.com/ayamir/fcitx5-gruvbox.git
  • 复制fcitx5-gruvbox中的 Gruvbox-Dark~/.local/share/fcitx5/themes/ 目录
  • 然后修改配置文件 ~/.config/fcitx5/conf/classicui.conf

添加下面的内容即可

Theme=Gruvbox-Dark

启用fcitx

hyprland.conf 中添加下面的命令

exec-once = fcitx5 --replace -d

注销或重启系统后生效

rime

1.总览

配置文件 配置说明
default.custom.yaml 输入方案、候选栏、快捷键等
extended.dict.yaml 扩展词库
flypy.schema.ymal 自定义小鹤双拼方案
symbols.custom.yaml 自定义标点符号
custom_phrase.txt 自定义短语

2.说明

此配置是针对 小鹤双拼 方案的,可以在此基础上进行修改。

3.表情符号

    symbols:
      "/emoji": [ 手势:/ss, 地球:/dq, 水果:/sg, 表情:/bq, emo:/em, 动物:/da, 天气:/tq, 音乐:/yy ]
      "/sym": [ 符号:/fh, 标志:/bz, 电脑:/dn , 清单:/td, 节气:/jq, 单位:/dw, 标点:/bd, 拼音:/py, 货币:/hb ]
      "/math": [ 数学:/sx, 数字:/0到/9, 分数:/fs, 括号:/kh, 星号:/xh, 方块:/fk, 几何:/jh, 箭头:/jt, 罗马数字:/lm, 大写罗马数字:/lmd, 拉丁:/ld, 上标:/sb, 下标:/xb, 希腊字母:/xl, 大写希腊字母:/xld ]

词库

本方案主要采用的是 iDvel/rime-ice 这个仓库的词库, 略有增删

如需添加或修改词库,编辑 extended.dict.yaml 文件即可

import_tables:
  # - luna_pinyin #默认词库,如需启用请取消注释
  - dicts/8105     # 字表
  - dicts/base     # 基础词库
  - dicts/ext      # 扩展词库
  - dicts/sogou    # 搜狗词向量(大词库,部署时间较长)
  - dicts/tencent  # 腾讯词向量(大词库,部署时间较长)
  - dicts/others   # 一些杂项

截图

正常输入

自定义短语

自定义符号

参考/致谢

  1. 鼠须管配置 2021
  2. 我的 Rime 配置 2022

rime's People

Contributors

scriptgo avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

rime's Issues

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.