aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"
+