🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

coc-rime

Package Overview
Dependencies
Maintainers
2
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

coc-rime

Rime input method integration of coc.nvim

latest
npmnpm
Version
0.1.5
Version published
Weekly downloads
12
-63.64%
Maintainers
2
Weekly downloads
 
Created
Source

coc-rime

pre-commit.ci status github/workflow

Rime input method integration of coc.nvim

This extension is created by create-coc-extension

screenshot

screencast

Dependencies

  • rime
  • pkg-config
# Ubuntu
sudo apt-get -y install pkg-config librime-dev librime1
sudo apt-mark auto librime-dev pkg-config
# ArchLinux
sudo pacman -S pkg-config librime
# Android Termux
apt-get -y install pkg-config librime
# Nix
# without any extra operation
# homebrew
brew tap tonyfettes/homebrew-rime
brew install pkg-config librime
# Windows msys2
pacboy -S --noconfirm pkg-config librime gcc

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

  • rime.source.enable: enable this source temporarily.
  • rime.source.disable: disable this source temporarily.
  • rime.source.toggle: temporarily toggle the status of the source.
  • rime.enable: enable this IME temporarily.
  • rime.disable: disable this IME temporarily.
  • rime.toggle: toggle this IME temporarily.

Lists

You could use CocList to switch between schema.

:CocList rime_schema

User Configuration

  • rime.enabled: Whether to enable this source.
  • rime.priority: The priority of this completion source.
  • rime.schemaId: The schemaId selected when coc-rime start. You could get it from rime_schema list.
  • rime.priority: Priority of Rime completion source
  • rime.traits.shared_data_dir: Path(s) where rime data stores
  • rime.traits.user_data_dir: Path(s) where rime configuration stores
  • rime.traits.*: More rime traits
  • rime.ui.*: The symbols used for IME UI

Limitations

  • It will break all imap <Buffer> created by other plugins, such as vim-peekaboo's <C-R>.

License

MIT

IM for vim

Pure vim

  • VimIM: Stop maintenance

ibus

fcitx5

rime

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

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

Rime frontends

See here.

Keywords

coc.nvim

FAQs

Package last updated on 05 Dec 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts