安装依赖

  • nerdfont

这个玩意比较大,所以得先在远程服务器压缩好一起下载

git clone https://github.com/ryanoasis/nerd-fonts.git
install.sh
  • gdu (disc util)
curl -L https://github.com/dundee/gdu/releases/latest/download/gdu_linux_amd64.tgz | tar xz
chmod +x gdu_linux_amd64
mv gdu_linux_amd64 /usr/bin/gdu
  • lazygit
LAZYGIT_VERSION=$(curl -s "https://api.github.com/repos/jesseduffield/lazygit/releases/latest" | \grep -Po '"tag_name": *"v\K[^"]*')
curl -Lo lazygit.tar.gz "https://github.com/jesseduffield/lazygit/releases/download/v${LAZYGIT_VERSION}/lazygit_${LAZYGIT_VERSION}_Linux_x86_64.tar.gz"
tar xf lazygit.tar.gz lazygit
sudo install lazygit -D -t /usr/local/bin/
  • bottom
curl -LO https://github.com/ClementTsang/bottom/releases/download/0.10.2/bottom_0.10.2-1_amd64.deb
sudo dpkg -i bottom_0.10.2-1_amd64.deb
  • common
sudo apt install ripgrep
  • npm
npm install tree-sitter-cli

安装

rm ~/.config/nvim
rm -rfv ~/.local/share/nvim
rm -rfv ~/.local/state/nvim
rm -rfv ~/.cache/nvim