I made this dumb tutorial 'cause I forget every time I need to do this shit 💩
- Neovim 0.9.5.
- Nerd Font as your terminal font.
- Make sure the nerd font you set doesn't end with Mono to prevent small icons.
- Example : JetbrainsMono Nerd Font and not JetbrainsMono Nerd Font Mono
- Ripgrep is required for grep searching with Telescope (OPTIONAL).
- GCC compiler.
- Make.
- Delete old neovim folders (checks the command below)
# Linux
rm -rf ~/.config/nvim
I use Linux btw and these steps below are only for linux users.
Installing the latest neovim version using AppImage on Linux:
curl -LO https://github.com/neovim/neovim/releases/latest/download/nvim.appimage
chmod u+x nvim.appimage
./nvim.appimage
If the ./nvim.appimage
command fails, try:
./nvim.appimage --appimage-extract
./squashfs-root/AppRun --version
sudo mv squashfs-root / && ln -s /squashfs-root/AppRun /usr/bin/nvim && nvim
Ripgrep is required for grep searching with Telescope
sudo apt install ripgrep gcc make
Installing Meslo font from nerd fonts:
sudo apt install wget fontconfig \
&& wget -P ~/.local/share/fonts https://github.com/ryanoasis/nerd-fonts/releases/latest/download/Meslo.zip \
&& cd ~/.local/share/fonts && unzip Meslo.zip && rm -rf README.md && rm -rf LICENSE.txt && rm -rf Meslo.zip && fc-cache -fv
git clone git@github.com:d4niells/neovim-config.git ~/.config/nvim && nvim
- Run :MasonInstallAll command after lazy.nvim finishes downloading plugins.
- Delete the .git folder from nvim folder or change the git remote if you aren't me, because I'm not interesting in your changes.
- Don't forget to set the "MesloLGM Nerd Font" font on your linux terminal.