From 85d31b4e874bdb76da33f3504c3dbb407909a711 Mon Sep 17 00:00:00 2001 From: Paul Trowbridge Date: Mon, 8 May 2023 08:06:54 -0400 Subject: [PATCH] scripts to install neovim and nvchad --- nvchad.sh | 1 + nvim_build.sh | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100755 nvchad.sh create mode 100755 nvim_build.sh diff --git a/nvchad.sh b/nvchad.sh new file mode 100755 index 0000000..1d5d5a6 --- /dev/null +++ b/nvchad.sh @@ -0,0 +1 @@ +git clone git@gitea.hptrow.me:pt/nvchad ~/.config/nvim diff --git a/nvim_build.sh b/nvim_build.sh new file mode 100755 index 0000000..a7c11f8 --- /dev/null +++ b/nvim_build.sh @@ -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 -