Skip to content

Type CJK characters in vim with nvim-cmp, based on librime.

Notifications You must be signed in to change notification settings

Ninlives/cmp-rime

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

简介

一个通过补全的方式在 NeoVim 中输入中文的插件。

演示

Screencast.from.07-19-2022.01.19.05.PM.webm

依赖

配置

local cmp = require('cmp')
cmp.setup {
  -- 各种其他配置
  sources = {
    -- 各种其他 source
    { name = 'rime', 
      option = {
        shared_data_dir = '/usr/share/rime-data',
        user_data_dir = vim.fn.getenv('HOME') .. '/.local/share/cmp-rime',
        max_candidates = 10 -- 设置过高会影响补全速度。
      } 
    }
  },
}

About

Type CJK characters in vim with nvim-cmp, based on librime.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published