Browse Source

Adding automatic vim plugin update and removals

master
Ryan Reed 10 months ago
parent
commit
d767628291
1 changed files with 7 additions and 0 deletions
  1. +7
    -0
      .chezmoiscripts/run_after_update-vim_plugins.sh

+ 7
- 0
.chezmoiscripts/run_after_update-vim_plugins.sh View File

@ -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

Loading…
Cancel
Save