switch to lazyvim

This commit is contained in:
Stefen Auris 2025-08-27 01:38:16 -04:00
parent bcc138b05f
commit af242c3084
2 changed files with 22 additions and 1 deletions

View file

@ -76,7 +76,7 @@ git_user () {
#install neovim & nvchad #install neovim & nvchad
echo "Installing neovim & Friends!" echo "Installing neovim & Friends!"
bash ./nvchad.sh bash ./lazyvim.sh
#install fonts for terminal #install fonts for terminal
fonts () { fonts () {

21
lazyvim.sh Executable file
View file

@ -0,0 +1,21 @@
#!/bin/bash
echo "Setting up Vim Sensible"
trash ~/.vim/
mkdir -p ~/.vim/pack/tpope/start
git clone https://tpope.io/vim/sensible.git ~/.vim/pack/tpope/start
echo "Install Neovim"
mkdir -v ~/bin
if [[ -f "/usr/bin/neovim" ]]; then
trash ~/bin/nvim
curl -L https://github.com/neovim/neovim/releases/download/v0.11.2/nvim-linux-x86_64.appimage -o ~/bin/nvim
chmod u+x ~/bin/nvim
fi
echo "Install NvChad"
# https://nvchad.com/docs/quickstart/install
trash ~/.config/nvim/
trash ~/.local/state/nvim/
trash ~/.local/share/nvim/
trash ~/.cache/nvim
git clone https://github.com/LazyVim/starter ~/.config/nvim