scripts to install neovim and nvchad

This commit is contained in:
Paul Trowbridge 2023-05-08 08:06:54 -04:00
parent 7fcf02f968
commit 85d31b4e87
2 changed files with 21 additions and 0 deletions

1
nvchad.sh Executable file
View File

@ -0,0 +1 @@
git clone git@gitea.hptrow.me:pt/nvchad ~/.config/nvim

20
nvim_build.sh Executable file
View File

@ -0,0 +1,20 @@
#!/bin/bash
# Install dependencies
sudo apt-get update
sudo apt-get install -y ninja-build gettext libtool libtool-bin autoconf automake cmake g++ pkg-config unzip
# Clone the Neovim repository
git clone https://github.com/neovim/neovim.git ~/neovim
# Navigate into the Neovim directory
cd ~/neovim
# Checkout the latest release tag
git checkout $(git describe --tags --abbrev=0)
# Build and install Neovim
make CMAKE_BUILD_TYPE=Release
sudo make install
cd -