separate vim config from nvim config again and simplify it

Separating vim's config from neovim's config simplifies the deployment
of lua for neovim's configuration. At the same time, clean up current
neovim config by removing all outdated options and options with equal or
even better defaults. Furthermore, the 'old' vim configuration should be
kept as-is to ensure compability with older systems if needed.
This commit is contained in:
Thomas Preisner 2022-09-25 01:09:48 +02:00
parent 0819e4e95b
commit 07be5a4e7a
6 changed files with 328 additions and 36 deletions

View file

@ -44,18 +44,19 @@ link()
link pam_environment ~/.pam_environment
# application-specific config
if installed nvim || installed vim; then
echo "Setting up nvim:"
mkdir -p ~/.config
link config/nvim ~/.config/nvim
echo
fi
if installed vim; then
echo "Setting up vim:"
link vimrc ~/.vimrc
link vim ~/.vim
echo
fi
if installed nvim; then
echo "Setting up nvim:"
mkdir -p ~/.config
link config/nvim ~/.config/nvim
echo
fi