From 7778f7a6f7a290513373e9ee722852bf05e138c4 Mon Sep 17 00:00:00 2001
From: Aljoscha Malek Esfahani <aljoscha.malekesfahani@stud.h-da.de>
Date: Sat, 16 Jul 2022 15:56:48 +0200
Subject: [PATCH] spacevim installation removed

---
 README.md    |  1 +
 nvimSetup.sh | 26 --------------------------
 2 files changed, 1 insertion(+), 26 deletions(-)

diff --git a/README.md b/README.md
index 6e2dc24..339ede0 100644
--- a/README.md
+++ b/README.md
@@ -16,3 +16,4 @@ Existiert jedoch ein nvim Ordner im config directory, diesen einfach manuell ent
 curl -s https://code.fbi.h-da.de/stalmalek/neovim-setup/-/raw/main/nvimSetup.sh -o setup.sh
 bash setup.sh -r
 rm setup.sh
+```
diff --git a/nvimSetup.sh b/nvimSetup.sh
index c76f60a..3ab0897 100755
--- a/nvimSetup.sh
+++ b/nvimSetup.sh
@@ -9,10 +9,6 @@
 # Plugins
 # -> https://www.youtube.com/watch?v=QB9V__3VO2s
 # -> https://web.archive.org/web/20210106062619/https://www.chrisatmachine.com/Neovim/01-vim-plug/
-#
-# Easy mode (Spacevim)
-# -> https://spacevim.org/
-
 
 helpme()
 {
@@ -37,28 +33,6 @@ do
     esac
 done
 
-choice=""
-echo "Install easy mode (Spacevim)? Also removes Spacevim if already installed [y/n]"
-while [ "$choice" != "y" -a "$choice" != "n" ]
-do
-    read choice
-done
-
-
-
-if [ "$choice" = "y" ]
-then
-    if [ -d ~/.config/nvim/.SpaceVim.d ]
-    then
-        curl -sLf https://spacevim.org/install.sh | bash -s -- --uninstall
-        echo "SpaceVim uninstalled"
-        exit 0
-    else 
-        curl -sLf https://spacevim.org/install.sh | bash
-        exit 0
-    fi
-fi
-
 
 if [ ! -x "$(command -v nvim)" ]
 then
-- 
GitLab