diff --git a/build_neovim b/build_neovim new file mode 100755 index 0000000..4071fdf --- /dev/null +++ b/build_neovim @@ -0,0 +1,13 @@ +#!/bin/bash + +git clone --recursive --depth=1 https://github.com/neovim/neovim.git build-neovim +cd build-neovim +git fetch --all --tags +git checkout tags/v0.9.5 +rm -rf build +make CMAKE_BUILD_TYPE=Release -j8 +sudo make install +cd .. +rm -rf build-neovim + + diff --git a/nuke_neovim b/nuke_neovim new file mode 100755 index 0000000..ffc8d7c --- /dev/null +++ b/nuke_neovim @@ -0,0 +1,5 @@ +#!/bin/bash + +sudo rm /usr/local/bin/nvim +sudo rm -r /usr/local/share/nvim/ + diff --git a/prep b/prep index ad1102c..e351038 100755 --- a/prep +++ b/prep @@ -1,9 +1,12 @@ #!/bin/bash sudo apt update && sudo apt upgrade -y -sudo apt install -y neovim ripgrep build-essential git cmake fzf stow zsh -sudo update-alternatives --set editor /usr/bin/nvim -sudo update-alternatives --set vim /usr/bin/nvim +sudo apt install -y ripgrep build-essential git cmake fzf stow zsh +sudo apt install -y ninja-build gettext unzip curl +sudo update-alternatives --set editor /usr/local/bin/nvim +sudo update-alternatives --set vim /usr/local/bin/nvim + +sh ./build_neovim git clone --depth 1 https://github.com/wbthomason/packer.nvim\ ~/.local/share/nvim/site/pack/packer/start/packer.nvim