nixos/installers/neovim.sh

8 lines
258 B
Bash
Executable file

#!/usr/bin/env bash
command -v nvim > /dev/null && exit 0
curl -LO https://github.com/neovim/neovim/releases/latest/download/nvim.appimage
chmod u+x nvim.appimage
mv nvim.appimage "$HOME/.local/bin/nvim"
ln -s "$HOME/.local/bin/nvim" "$HOME/.local/bin/vim"