From c9755478d9c1ffea67b812351acc5e0a6278c7b7 Mon Sep 17 00:00:00 2001 From: PlexSheep Date: Sun, 18 Jun 2023 15:41:39 +0200 Subject: [PATCH] auto install plug.vim with nvim --- nvim-appimage.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nvim-appimage.sh b/nvim-appimage.sh index 18456d9..e982bab 100755 --- a/nvim-appimage.sh +++ b/nvim-appimage.sh @@ -14,3 +14,7 @@ CUSTOM_NVIM_PATH=/usr/local/bin/nvim.appimage #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 + +# get plug.vim +sh -c 'curl -fLo "${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/autoload/plug.vim --create-dirs \ + https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'