Giter VIP home page Giter VIP logo

cyim-emacs's Introduction

注意:以下为旧文件,已简化升级为呼吸输入法,详见

https://github.com/huxi-fun/huxi


穿越中文输入法 Emacs 版 (Cyim-emacs)

版本: 1.2

作者: [email protected]

Cyim-emacs 是在 Emacs 中使用的中文输入法,输入中文比较快捷方便。除了具有基本的功能外,主要特点有:

  • 软件编程人员易于使用的中文输入法
  • 完善的中文编码,重码率低。
  • 中英文切换方便,输入更为流畅。
  • 遇到空格和大写字母自动切换到英文输入。
  • 支持遇到括号时自动切换到英文输入。
  • 实现了4个字母对应一个单词时,自动上屏。
  • 方便进行自定义,有历史记录。

目录:

1. 中文编码

小小音形输入法

2. 安装

git clone https://github.com/cy2081/cyim-emacs.git

先把 local/cyim 目录放到 .emacs.d 中,然后按照下边进行设置。

2.1 use-package

use.el 中的代码。

2.2 Spacemacs 设置

如果使用 Spacemacs,可以直接把 cyim-emacs 当作一个新 layer 添加到 ~/.emacs.d/private 中,配置文件 config.elpackages.el 已经建好。

然后在 .spacemacsdotspacemacs-configuration-layer 中加入:

(cyim-emacs :variables chinese-default-input-method 'cyim)` 

具体配置参见 packages.el

3. 快捷键

M-SPC 切换输入法

C-, 切换中英文标点

C-e 输入英文

C-n 选项下一页

C-p 选项上一页

C-m 输入字母

C-c 取消输入

C-g 取消当前输入,并切换到英文

M-u 删除已经输入的单词

C-z 删除选项中前一个字母

SPC 选择第一项

[ 选择第二项

选择第三项

4. 词库

4.1 默认词库

直接编辑 cy-table.txt 即可。

4.2 自定义词库

mycy.txt 文件复制到 .emacs.d 目录下,直接编辑即可。

5. 其它版本

5.1 Android 手机版

先安装 Termux 和黑客键盘(Hacker’s Keyboard),再安装 Emacs,再按照上边的方法配置。

5.2 Vim 版

详见 https://github.com/cy2081/vim-cyim

cyim-emacs's People

Contributors

huxi-fun avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 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.