Skip to content

Neovim configuration

Notifications You must be signed in to change notification settings

caraplana1/nvim

Repository files navigation

Neovim Config

  • UNIX Clone this repo in ~/.config folder before installing neovim.
  • WINDOWS Clone this repo in ~/AppData/Local before installing neovim.

Install

Copy the fonts for the terminal

sudo cp "~/.config/nvim/Fonts/mononoki-Regular Nerd Font Complete Mono.ttf" "/usr/share/fonts/mononoki-Regular Nerd Font Complete Mono.ttf"

Install neovim

UNIX

  • Ubuntu
sudo apt install neovim -y
  • Fedora
sudo dnf install neovim -y

WINDOWS 8+

winget install Neovim.Neovim

Install VimPlug

UNIX

sh -c 'curl -fLo "${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/autoload/plug.vim --create-dirs \
       https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'

WINDOWS

iwr -useb https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim |`
    ni "$(@($env:XDG_DATA_HOME, $env:LOCALAPPDATA)[$null -eq $env:XDG_DATA_HOME])/nvim-data/site/autoload/plug.vim" -Force

Install OS Dependecies

UNIX

  • Ubuntu
sudo apt install ripgrep clangd
  • Fedora
sudo dnf install ripgrep clang-tools-extra

WINDOWS

winget install BurntSushi.ripgrep.MSVC
winget install -e --id LLVM.LLVM

Install NodeJs

UNIX

curl -sL install-node.vercel.app/lts | sudo bash

WINDOWS

winget install Schniz.fnm

fnm env --use-on-cd | Out-String | Invoke-Expression

fnm use --install-if-missing 22

Install Plugins

Run in the terminal

nvim -c "PlugInstall"

About

Neovim configuration

Resources

Stars

Watchers

Forks