From 47f3ec3d3b3a7e767a172ef3c1b689f704df52d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?William=20Herg=C3=A8s?= Date: Sat, 1 Nov 2025 13:20:43 +0100 Subject: ci(nvim): script to install --- README.md | 5 +++++ setup.sh | 19 +++++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 setup.sh diff --git a/README.md b/README.md index c6ee07f..4e27d02 100644 --- a/README.md +++ b/README.md @@ -2,3 +2,8 @@ My personnal dotfiles of my workstation powered by Void, Sway, niri, nvim and fish. +You can install my nvim config with +```bash +curl -L https://git.anhgelus.world/anhgelus/dotfiles/raw/branch/main/setup.sh | bash +``` + diff --git a/setup.sh b/setup.sh new file mode 100644 index 0000000..1efd4a3 --- /dev/null +++ b/setup.sh @@ -0,0 +1,19 @@ +#!/usr/bin/bash + +echo "installing nvim" + +curl -L -o nvim.appimage https://github.com/neovim/neovim/releases/download/v0.11.4/nvim-linux-x86_64.appimage + +chmod +x nvim.appimage +echo 'alias nvim="~/nvim.appimage"' > setup_bash + +echo "setuping nvim" + +git clone https://git.anhgelus.world/anhgelus/dotfiles.git + +cp -r dotfiles/config/nvim .config + +rm -fr .config/nvim/lua/plugins/ultisnips.lua + +echo "execute 'source setup_bash' to finish the setup" + -- cgit v1.2.3