aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hergès <william@herges.fr>2025-11-01 13:20:43 +0100
committerWilliam Hergès <william@herges.fr>2025-11-01 13:20:43 +0100
commit47f3ec3d3b3a7e767a172ef3c1b689f704df52d9 (patch)
tree4ca2481d795f169a898f2b9b8a846b851f8eed81
parentdaee35570cf0323f69e150815eb69ce997c96195 (diff)
ci(nvim): script to install
-rw-r--r--README.md5
-rw-r--r--setup.sh19
2 files changed, 24 insertions, 0 deletions
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"
+