Skip to content
Iammyself edited this page Jan 8, 2024 · 19 revisions

安装

# export HTTPS_PROXY="socks5://192.168.1.4:7890";export HTTP_PROXY="socks5://192.168.1.4:7890";export ALL_PROXY="sock5://192.168.1.4:7890}";
git clone [email protected]:IammyselfYBX/.vim.git
ln -s ~/.vim/.vimrc ~/.vimrc # vim配置

配置

第一次下载以后

:PlugInstall

Coc.nvim

安装nodej

curl -sL install-node.vercel.app/lts | bash

如果下载失败就去nodejs下载官网

~/.application/node-v20.10.0-linux-x64/bin$ wget https://nodejs.org/dist/v20.10.0/node-v20.10.0-linux-x64.tar.xz
tar -Jxvf node-v20.10.0-linux-x64.tar.xz
ln -s /home/tony/.application/node-v20.10.0-linux-x64/bin/npm /home/tony/.local/bin/
ln -s /home/tony/.application/node-v20.10.0-linux-x64/bin/node /home/tony/.local/bin/
国内源
npm config set registry http://mirrors.cloud.tencent.com/npm/ # 修改成腾讯云镜像源
npm config get registry # 验证命令
npm config set registry https://registry.npmmirror.com # 修改成淘宝镜像源
npm config set registry https://mirrors.huaweicloud.com/repository/npm/ # 修改成华为云镜像源

语言服务器

 sudo apt install ccls
Clone this wiki locally