GitXplorerGitXplorer
L

coc-codegeex

public
26 stars
1 forks
1 issues

Commits

List of commits on branch master.
Unverified
eb19f61e1c7b9277e2a1f264847ca98f51018ca4

refactor: complete typing & lint files

LLanceZhu committed a year ago
Unverified
054dbc3ccc64fb298195f0906f061d4abdaefbd8

feat: add usage gif

LLanceZhu committed 2 years ago
Unverified
9de95a89d9d5a7e2d4edc3388ad66f6409371feb

fix: package.json is not valid json file

LLanceZhu committed 2 years ago
Unverified
6778a19066e067ed86ee7bfbfc73d8e150f7fa96

feat: update package info

LLanceZhu committed 2 years ago
Unverified
b8504f3d847df75efc8fdbbc242774a58cb542d3

chore: rm unused log

LLanceZhu committed 2 years ago
Unverified
9f07a023c37cc0bba6a89c5b2a84d95acbe94f0d

feat: optimize translation mode

LLanceZhu committed 2 years ago

README

The README file for this repository.

coc-codegeex

codegeex in vim using coc.nvim

code_generation

Install

first install coc.nvim

and in vim install plugin: coc-codegeex :CocInstall coc-codegeex

Usage

setup

use :CocConfig open configuration file, add apiKey and apiSecret. You can apply this in tianqi

{
  "codegeex": {
    "apiKey": "your_api_key",
    "apiSecret": "your_api_secret",
  }
}

stealth mode

when you stop type, you will see the completion list. use Enter to confirm selection, the selected code will be inserted.

translation mode

set keymap in .vimrc

vmap <silent> <C-l> <Plug>(coc-codegeex-translate-keymap)

in vim visual mode, select some code and use ctrl + l to trigger translation.

License

MIT


This extension is built with create-coc-extension