diff --git a/.chezmoiscripts/run_after_update-vim_plugins.sh b/.chezmoiscripts/run_after_update-vim_plugins.sh new file mode 100644 index 0000000..ddb41e2 --- /dev/null +++ b/.chezmoiscripts/run_after_update-vim_plugins.sh @@ -0,0 +1,7 @@ +#!/usr/bin/env bash + +# Install new and remove old plugins +if command -v vim >/dev/null 2>&1; then + echo "Updating Vim plugins" + nvim '+PlugUpdate' '+PlugClean!' '+PlugUpdate' '+qall' +fi