auto install plug.vim with nvim

This commit is contained in:
Christoph J. Scherr 2023-06-18 15:41:39 +02:00
parent c78076856a
commit c9755478d9
Signed by: PlexSheep
GPG Key ID: 25B4ACF7D88186CC
1 changed files with 4 additions and 0 deletions

View File

@ -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'