Since the vim plugins are stored in submodules and vim-plug is not a big fan of that when installing (Needs PlugClean and PlugInstall again although the repos of the plugins were already pulled) it makes more sense to me to use vim8s native plugin management.
31 lines
1.0 KiB
YAML
31 lines
1.0 KiB
YAML
- shell:
|
|
-
|
|
command: git submodule update --init --recursive --jobs 8 --depth 1 2>&1 | grep "Cloning into"
|
|
description: Pulling all submodules
|
|
stdout: true
|
|
-
|
|
command: /bin/sh -c 'tmpd="$(mktemp -d)"; for file in .config/*; do [ ! -e "$HOME/$file" ] || mv "$HOME/$file" "$tmpd"; done; rmdir "$tmpd" 2>/dev/null && echo "Nothing to archive" || { name="existing-$(date +"%s").tar.gz"; tar czvf "$name" "$tmpd" && rm -rf "$tmpd" && echo "$name created"; }'
|
|
description: Archiving all files in ~/.config before overwriting them
|
|
stdout: true
|
|
stderr: true
|
|
quiet: true
|
|
-
|
|
command: .config/zsh/plugins/fzf/install --bin
|
|
description: Pulling fzf binary
|
|
- link:
|
|
~/.Xresources:
|
|
.Xresources
|
|
~/.zshenv:
|
|
.zshenv
|
|
~/.config/:
|
|
create: true
|
|
glob: true
|
|
path: .config/*
|
|
~/.local/bin/:
|
|
create: true
|
|
glob: true
|
|
path: .local/bin/*
|
|
~/.local/share/nvim/site/pack:
|
|
create: true
|
|
path: .config/vim/pack
|