wip: further cleanup

This commit is contained in:
Andrejus
2021-04-16 00:26:07 +01:00
parent 18689abd73
commit e5223a45db
48 changed files with 405 additions and 361 deletions

24
scripts/install.d/16-vim.sh Executable file
View File

@@ -0,0 +1,24 @@
#!/usr/bin/env bash
# Install neovim from unstable debian repo
echo "deb http://deb.debian.org/debian unstable main" \
| sudo tee /etc/apt/sources.list.d/unstable.list
echo "Package: neovim
Pin: release a=unstable
Pin-Priority: 900" \
| sudo tee /etc/apt/preferences.d/neovim
update
install neovim
mkdir -p "$XDG_DATA_HOME/nvim/backup"
plug_dir="$XDG_DATA_HOME/nvim/site/autoload"
mkdir -p "$plug_dir"
plug_target="$plug_dir/plug.vim"
if [ ! -f $plug_target ]; then
download_file \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim \
"$plug_target"
fi
nvim --headless +UpdateRemotePlugins +PlugClean! +PlugInstall +PlugUpgrade +PlugUpdate +qall
nvim --version