add neovim build scripts
parent
543779c792
commit
f317903d3d
|
@ -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
|
||||
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
#!/bin/bash
|
||||
|
||||
sudo rm /usr/local/bin/nvim
|
||||
sudo rm -r /usr/local/share/nvim/
|
||||
|
9
prep
9
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
|
||||
|
|
Loading…
Reference in New Issue