This resp is created to backup and share my nvim config.
- Neovim (the latest one is recommended)
- Git
- Install the Packer.nvim(a package manager)
for Windowsfor Unix, Linuxpowershell git clone --depth 1 https://github.com/wbthomason/packer.nvim "$env:LOCALAPPDATA\nvim-data\site\pack\packer\start\packer.nvim"
git clone --depth 1 https://github.com/wbthomason/packer.nvim ~/.local/share/nvim/site/pack/packer/start/packer.nvim
- A patched font
It's required bykyazdani42/nvim-web-devicons
, which is used to display some icons.
It can be downloaded from NERD FONTS and should be installed into your system. My choice isCaskaydia
. Relevant info can be searched online.
On Windows you'd better usenvim
in Windows Terminal or usenvim-qt.exe
as the fonts can't be correctly loaded in separatecmd
orpowershell
.
If you use Windows Terminal on Windows, you need to set the font of Windows Terminal separately. Here is a reference in English.
- Meet the Requirements
- Clone this repo
for Windows(please use powershell)for Unix, Linuxgit clone --depth 1 https://gitlab.com/Geniucker/neovim-config.git "$env:LOCALAPPDATA/nvim"
git clone --depth 1 https://gitlab.com/Geniucker/neovim-config.git ~/.config/nvim