Skip to content

LanceZhu/coc-codegeex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy