coc-rime

0.1.4-rc19 • Public • Published

coc-rime

pre-commit.ci status github/workflow

Rime input method integration of coc.nvim

This extension is created by create-coc-extension

screenshot

Dependencies

# Ubuntu
sudo apt-get -y install pkg-config librime-dev librime1
# ArchLinux
sudo pacman -S pkg-config librime
# Android Termux
apt-get -y install pkg-config librime
# Nix
# without any extra operation
# Brew
brew tap tonyfettes/homebrew-rime
brew install pkg-config rime

Install

" command line
CocInstall coc-rime
" or add the following code to your vimrc
let g:coc_global_extensions = ['coc-rime', 'other coc-plugins']

Commands

  1. rime.enable: enable this source temporarily.
  2. rime.disable: disable this source temporarily.
  3. rime.toggle: temporarily toggle the status of the source.

Lists

You could use CocList to switch between schema.

:CocList rime_schema

User Configuration

  1. rime.enabled: Whether to enable this source.
  2. rime.priority: The priority of this completion source.
  3. rime.schemaId: The schemaId selected when coc-rime start. You could get it from rime_schema list.
  4. rime.priority: Priority of Rime completion source
  5. rime.traits.shared_data_dir: Path(s) where rime data stores
  6. rime.traits.user_data_dir: Path(s) where rime configuration stores
  7. rime.traits.*: More rime traits

License

MIT

Related Projects

IM for vim

本项目希望为不可能使用输入法的环境中提供必要的中文支持:

  • 文本终端。例如在构建 Linux 时添加 cjktty-patches 可以在文本终端显示中文,但在不使用 fbterm 时缺乏输入中文的方法。
  • Android 。受限于 Android 权限机制,不可能在 termux 中获取输入法 APP 的状态以实现:
    • 退出插入模式时恢复英文输入模式
    • 进入插入模式时恢复上一次退出插入模式时的中、英文输入模式

Rime frontends

See here.

Readme

Keywords

Package Sidebar

Install

npm i coc-rime

Weekly Downloads

11

Version

0.1.4-rc19

License

MIT

Unpacked Size

71.1 kB

Total Files

8

Last publish

Collaborators

  • tonyfettes
  • freedwu