In Windows:
cd ~\AppData\Local\
git clone https://github.com/opengit/nvim.gitIn Linux or macOS:
cd ~/.config/
git clone https://github.com/opengit/nvim.gitIn my development environment, I will install the following plugins:
:CocInstall @yaegassy/coc-pylsp coc-sumneko-lua coc-html-css-support coc-pairs coc-snippets coc-prettier coc-tsserver coc-json coc-emmet coc-markdown-preview-enhanced coc-markdownlint coc-webview coc-gitIf the support of Python or Lua is not enough, it is necessary to install language server:
:CocCommand pylsp.installServer
:CocCommand sumneko-lua.installTo use the GitHub Copilot plugin for AI coding, you need to set up the github/copilot.vim plugin by the following command:
:Copilot setup- 2024-04-11 00:23
从
nvim-lspconfig迁移至coc.nvim。
- 2024-06-27 16:39
完善了一下使用文档。
- 2024-07-02 01:09
Python 的支持转为使用
coc-pylsp。
- 2024-08-16 17:00
最近清理了无效配置代码段,添加了
coc-webview让 markdown-preview-enhanced 工作正常。
- 2025-06-08 18:02
使用
github/copilot.vim插件代替codeium作为 AI 编程助手。
- Error:
Vim(source):No C compiler found! "cc", "gcc", "clang", "cl", "zig" are not executable..
In Windows:
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
choco install mingw -yIn Linux(Ubuntu):
sudo apt-get install build-essential

