Friday, March 20, 2026

Managing vim plugins

I wish to draw attention to this brilliant Reddit comment:

vim-plug, minpac or just git clone to your ~/.vim/pack/my-plugins/start/ directory.

My update script now sports this crudely elegant addition:


while read -r dir; do
    cd "$dir"
    git pull
done < <(find ~/.vim/pack -maxdepth 3 -mindepth 3 -type d)

And I need not remember which plugin manager I installed. Everything is taken care of.

I love simple technologies.

No comments:

Post a Comment

My programming languages of choice: 06-11-2026

Shell If the real work can be done with existing utilities. Bash: My default Included with Git for Windows PowerShell: Included with Windows...