Como uso o plugin execelent pathogen para vim , escrevi um pequeno script para atualizá-lo e os pacotes que utilizo:
#!/usr/bin/env zsh
which curl >/dev/null || {
echo "curl not found in path..."
exit 1
}
which git >/dev/null || {
echo "git not found in path..."
exit 1
}
PATHOGEN_DIR="${HOME}/.vim/autoload"
BUNDLES_DIR="${HOME}/.vim/bundle"
if [[ -d "${PATHOGEN_DIR}" ]]; then
echo "Updating pathogen..."
curl -Sso "${PATHOGEN_DIR}/pathogen.vim"
https://raw.github.com/tpope/vim-pathogen/master/autoload/pathogen.vim
fi
if [[ -d "${BUNDLES_DIR}" ]]; then
echo "Updating bundles..."
for bundle in "${BUNDLES_DIR}/"*; do
if [[ -d "${bundle}/.git" ]]; then
echo "Bundle: ${bundle}..."
cd "${bundle}"
git pull
fi
done
fi
Aqui está uma lista de pacotes que considero úteis:
- https://github.com/mileszs/ack.vim.git
- https://github.com/chriskempson/base16-vim.git
- https://github.com/docunext/closetag.vim.git
- https://github.com/vim-scripts/java.vim.git
- https://github.com/mrtazz/molokai.vim.git
- https://github.com/scrooloose/nerdcommenter.git
- https://github.com/scrooloose/nerdtree.git
- https://github.com/scrooloose/syntastic.git
- https://github.com/majutsushi/tagbar.git
- https://github.com/kchmck/vim-coffee-script.git
- https://github.com/altercation/vim-colors-solarized.git
- https://github.com/tpope/vim-cucumber.git
- https://github.com/xolox/vim-easytags.git
- https://github.com/xolox/vim-misc (é necessário para vim-easytags)
- https://github.com/tpope/vim-fugitive.git
- https://github.com/airblade/vim-gitgutter.git
- https://github.com/jcf/vim-latex.git
- https://github.com/plasticboy/vim-markdown.git
- https://github.com/christophwagner/vim-maven.git
- https://github.com/Lokaltog/vim-powerline.git
- https://github.com/tpope/vim-rails.git
- https://github.com/vim-ruby/vim-ruby.git
- https://github.com/othree/xml.vim.git
- https://github.com/mattn/zencoding-vim.git
- https://github.com/tpope/vim-fireplace