update alt prios

This commit is contained in:
Christoph J. Scherr 2023-06-29 21:39:52 +02:00
parent 15eb3aadab
commit 5425f40299
Signed by: PlexSheep
GPG Key ID: 25B4ACF7D88186CC
1 changed files with 2 additions and 1 deletions

View File

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