From 5425f402998c7e18753b289f2698382a0cb95355 Mon Sep 17 00:00:00 2001 From: PlexSheep Date: Thu, 29 Jun 2023 21:39:52 +0200 Subject: [PATCH] update alt prios --- nvim-appimage.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nvim-appimage.sh b/nvim-appimage.sh index e982bab..6c9960e 100755 --- a/nvim-appimage.sh +++ b/nvim-appimage.sh @@ -13,7 +13,8 @@ CUSTOM_NVIM_PATH=/usr/local/bin/nvim.appimage #update-alternatives --remove view "${CUSTOM_NVIM_PATH}" #update-alternatives --remove vim "${CUSTOM_NVIM_PATH}" #update-alternatives --remove vimdiff "${CUSTOM_NVIM_PATH}" -update-alternatives --install /usr/bin/nvim nvim "${CUSTOM_NVIM_PATH}" 110 +update-alternatives --install /usr/bin/nvim nvim "${CUSTOM_NVIM_PATH}" 100 +update-alternatives --install /usr/bin/editor editor "${CUSTOM_NVIM_PATH}" 100 # get plug.vim sh -c 'curl -fLo "${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/autoload/plug.vim --create-dirs \