Rime input method integration of coc.nvim
This extension is created by create-coc-extension
# 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
" command line
CocInstall coc-rime
" or add the following code to your vimrc
let g:coc_global_extensions = ['coc-rime', 'other coc-plugins']
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.You could use CocList
to switch between schema.
:CocList rime_schema
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 sourcerime.traits.shared_data_dir
: Path(s) where rime data storesrime.traits.user_data_dir
: Path(s) where rime configuration storesrime.traits.*
: More rime traitsrime.ui.*
: The symbols used for IME UIimap <Buffer>
created by other plugins, such as
vim-peekaboo's <C-R>
.MIT
本项目希望为不可能使用输入法的环境中提供必要的中文支持:
See here.