From bc657cf034bf73ed524b04328eee6c70b737a256 Mon Sep 17 00:00:00 2001 From: Jason Streifling Date: Fri, 20 Sep 2024 21:21:47 +0200 Subject: [PATCH] Create vim symlink to neovim for vim -d binary --- arch_update | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/arch_update b/arch_update index a1269ee..92b8de0 100755 --- a/arch_update +++ b/arch_update @@ -26,7 +26,10 @@ fi echo -e '\nInstalling dependencies ...' >&2 ! which curl >/dev/null 2>&1 && sudo pacman -Syu curl ! which git >/dev/null 2>&1 && sudo pacman -Syu git -! which nvim >/dev/null 2>&1 && sudo pacman -Syu neovim +if ! which nvim >/dev/null 2>&1; then + sudo pacman -Syu neovim + sudo ln -s /usr/bin/nvim /usr/local/bin/vim +fi ! which rankmirrors >/dev/null 2>&1 && sudo pacman -Syu pacman-contrib if ! which yay >/dev/null 2>&1; then sudo pacman -Syu