You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
444 B
Bash

#!/usr/bin/env bash
TMP_DIR="tmp_nvim"
mkdir -p ${TMP_DIR}
# Download latest nightly release of Neovim
curl -L https://github.com/neovim/neovim/releases/download/nightly/nvim-linux64.tar.gz | \
sudo tar -d ${TMP_DIR} -xzf /dev/stdin
rm -rf ~/neovim
sudo mv ${TMP_DIR}/nvim-linux64 ~/neovim
ln -s $(pwd)/nvim ~/.config
git clone --depth 1 https://github.com/wbthomason/packer.nvim\
~/.local/share/nvim/site/pack/packer/start/packer.nvim