Skip to main content
  1. Docs/

Neovim

124 words

my nvim settings #

Usage #

Make SymbolicLink.

Windows #

Remove-Item ./nvim/ -Recurse -Force
New-Item -Type SymbolicLink -Path "$env:LOCALAPPDATA" -Name "nvim" -Value "$env:USERPROFILE/Documents/GitHub/dotfiles/nvim"
Get-ChildItem -Path $env:LOCALAPPDATA -Force -ErrorAction 'silentlycontinue' |
Where-Object { $_.Attributes -match "ReparsePoint" -and $_.Name -match "nvim"}

Linux #

rm -rf ~/.config/nvim
# caution! Don't needs slash at last.
ln -s $HOME/Documents/GitHub/dotfiles/nvim ~/.config/nvim
ls ~/.config/nvim # check link

Install Nerd fonts #

Install from nerdfonts.com.

sudo mkdir /usr/share/fonts/nerd/
sudo curl -fLo "/usr/share/fonts/nerd/Blex Mono Nerd Font Complete.otf" \
    https://github.com/ryanoasis/nerd-fonts/raw/master/patched-fonts/IBMPlexMono/Mono/complete/Blex%20Mono%20Nerd%20Font%20Complete.ttf
fc-cache
fc-list | grep nerd # check

Note If you using WSL, check config of Windows Terminal.

Note If you using Archlinux, check AUR. fonts could install with pacman or paru.

Install Neovim #

Debian #

wget -O /tmp/nvim.deb https://github.com/neovim/neovim/releases/download/v0.7.0/nvim-linux64.deb
sudo apt install /tmp/nvim.deb