Ubuntu下安装neovim编辑器
用snap安装最新版,apt安装的版本比较旧:
sudo snap install nvim –classic
安装Lazyvim插件:https://www.lazyvim.org/installation
sudo git clone https://github.com/LazyVim/starter ~/.config/nvim
下载字体:https://www.nerdfonts.com/font-downloads
wget https://github.com/ryanoasis/nerd-fonts/releases/download/v3.3.0/0xProto.zip
解压字体文件,将mono字体复制到字体文件夹:
unzip 0xProto.zip sudo cp 0xProtoNerdFontMono-Bold.ttf /usr/share/fonts/ sudo apt install fontconfig fc-cache -fv
最后,还可以安装一个gcc编译器:
sudo apt install build-essential