Post

LunarVim - Turn Vim into an IDE

lunarvim

Prerequisites

NOTE: This docs is based on Ubuntu 22.04 for example.

Neovim v0.9

Adding this PPA to your system

Ubuntu

1
2
3
sudo add-apt-repository ppa:neovim-ppa/stable
sudo apt update
sudo apt install neovim -y

Debian

1
2
3
wget https://github.com/neovim/neovim/releases/download/nightly/nvim.appimage -O nvim
chmod +x nvim && mv nvim /usr/bin/
mkdir -p ~/.config/nvim

check your neovim version

1
2
nvim --version
Neovim v0.9.0+.

remeber export your PATH env export PATH="/usr/bin:$PATH"

pip3

1
sudo apt-get install python3-pip

NodeJS v20

remove and purge the exist nodejs

1
2
sudo apt remove --purge nodejs
sudo apt autoremove

install v20

1
2
curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash - && \
sudo apt install -y nodejs

check node version

1
2
node -v
v20.0.1

Cargo

1
curl https://sh.rustup.rs -sSf | sh

LunarVim

Install

1
LV_BRANCH='release-1.3/neovim-0.9' bash <(curl -s https://raw.githubusercontent.com/LunarVim/LunarVim/release-1.3/neovim-0.9/utils/installer/install.sh)

Set your PATH

if you using bash:

1
2
3
4
cat <<EOF >> ~/.bashrc 
export PATH="$HOME/.local/bin:$PATH"
alias vim='lvim'
EOF

Download my lunarvim config file

1
wget https://raw.githubusercontent.com/Technicatgor/launcher/main/lunarvim/config.lua -O ~/.config/lvim/config.lua

Update

press leader key(default is spacebar), press L then u

Uninstall

1
bash ~/.local/share/lunarvim/lvim/utils/installer/uninstall.sh
This post is licensed under CC BY 4.0 by the author.