auto install plug.vim with nvim
This commit is contained in:
parent
c78076856a
commit
c9755478d9
|
@ -14,3 +14,7 @@ CUSTOM_NVIM_PATH=/usr/local/bin/nvim.appimage
|
||||||
#update-alternatives --remove vim "${CUSTOM_NVIM_PATH}"
|
#update-alternatives --remove vim "${CUSTOM_NVIM_PATH}"
|
||||||
#update-alternatives --remove vimdiff "${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}" 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'
|
||||||
|
|
Loading…
Reference in New Issue