Neovim configuration using lazy.nvim as the plugin manager
- Remove existing neovim configuration
nvim_config="nvim"
rm -rf ~/.config/$nvim_config ~/.local/share/$nvim_config ~/.local/state/$nvim_config ~/.cache/$nvim_config
- Install neovim by downloading the AppImage
wget https://github.com/neovim/neovim/releases/download/nightly/nvim-linux-x86_64.appimage
- Set up permissions for the Neovim AppImage and create a symbolic link
chmod +x nvim-linux-x86_64.appimage
ln -sf nvim-linux-x86_64.appimage nvim
- Create the neovim configuration directory and enter it.
mkdir -p ~/.config/nvim
chmod 700 ~/.config/nvim
cd ~/.config/nvim/
- Clone the neovim configuration repository
git clone https://github.com/nagarajankarthik/neovim.git .
- Install dependencies
nvim init.lua